Better behaviour on small screen
This commit is contained in:
parent
0847dba26d
commit
fb0f5e3230
@ -3183,7 +3183,7 @@ function print_barre_liste($titre, $page, $file, $options='', $sortfield='', $so
|
||||
{
|
||||
if ($totalnboflines) // If we know total nb of lines
|
||||
{
|
||||
$maxnbofpage=(empty($conf->dol_optimize_smallscreen) ? 4 : 2); // page nb before and after selected page + ... + first or last
|
||||
$maxnbofpage=(empty($conf->dol_optimize_smallscreen) ? 4 : 1); // page nb before and after selected page + ... + first or last
|
||||
|
||||
if ($limit > 0) $nbpages=ceil($totalnboflines/$limit);
|
||||
else $nbpages=1;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user