mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-20 15:33:47 +01:00
LSselect: fix number objects of by page
This commit is contained in:
parent
a9860f83de
commit
cf1a98e4b3
2 changed files with 2 additions and 2 deletions
|
@ -253,7 +253,7 @@ $GLOBALS['LSlog']['level'] = 'INFO'; // DEBUG, INFO, WARNING, ERROR, FATAL
|
||||||
$GLOBALS['LSlog']['enable'] = true;
|
$GLOBALS['LSlog']['enable'] = true;
|
||||||
|
|
||||||
define('NB_LSOBJECT_LIST',30);
|
define('NB_LSOBJECT_LIST',30);
|
||||||
define('NB_LSOBJECT_LIST_SELECT',11);
|
define('NB_LSOBJECT_LIST_SELECT',20);
|
||||||
$GLOBALS['NB_LSOBJECT_LIST_CHOICES'] = array(30, 60, 100);
|
$GLOBALS['NB_LSOBJECT_LIST_CHOICES'] = array(30, 60, 100);
|
||||||
|
|
||||||
define('MAX_SEND_FILE_SIZE',2000000);
|
define('MAX_SEND_FILE_SIZE',2000000);
|
||||||
|
|
|
@ -629,7 +629,7 @@ function handle_LSobject_select($request) {
|
||||||
|
|
||||||
// Handle form POST data
|
// Handle form POST data
|
||||||
$LSsearch -> setParamsFormPostData();
|
$LSsearch -> setParamsFormPostData();
|
||||||
$LSsearch -> setParam('nbObjectsByPage', 4);
|
$LSsearch -> setParam('nbObjectsByPage', NB_LSOBJECT_LIST_SELECT);
|
||||||
|
|
||||||
$page = (isset($_REQUEST['page'])?(int)$_REQUEST['page']:0);
|
$page = (isset($_REQUEST['page'])?(int)$_REQUEST['page']:0);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue