Skip to content

Commit

Permalink
Increase max size of number of product into list
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Jun 26, 2016
1 parent bc38bc6 commit d6e15fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion htdocs/cashdesk/include/environnement.php
Expand Up @@ -44,7 +44,7 @@


// View parameters
$conf_taille_listes = (empty($conf->global->PRODUIT_LIMIT_SIZE)?500:$conf->global->PRODUIT_LIMIT_SIZE); // Nombre max de lignes a afficher dans les listes
$conf_taille_listes = (empty($conf->global->PRODUIT_LIMIT_SIZE)?1000:$conf->global->PRODUIT_LIMIT_SIZE); // Nombre max de lignes a afficher dans les listes
$conf_nbr_car_listes = 60; // Nombre max de caracteres par ligne dans les listes

// Add hidden option to force decrease of stock whatever is user setup
Expand Down
2 changes: 1 addition & 1 deletion htdocs/core/class/conf.class.php
Expand Up @@ -429,7 +429,7 @@ function setValues($db)
$this->liste_limit=$this->global->MAIN_SIZE_LISTE_LIMIT;

// conf->product->limit_size = constante de taille maximale des select de produit
if (! isset($this->global->PRODUIT_LIMIT_SIZE)) $this->global->PRODUIT_LIMIT_SIZE=100;
if (! isset($this->global->PRODUIT_LIMIT_SIZE)) $this->global->PRODUIT_LIMIT_SIZE=1000;
$this->product->limit_size=$this->global->PRODUIT_LIMIT_SIZE;

// conf->theme et $this->css
Expand Down

0 comments on commit d6e15fe

Please sign in to comment.