diff --git a/src/conf/config.inc.php b/src/conf/config.inc.php index 8370b566..67e4f97a 100644 --- a/src/conf/config.inc.php +++ b/src/conf/config.inc.php @@ -253,7 +253,7 @@ $GLOBALS['LSlog']['level'] = 'INFO'; // DEBUG, INFO, WARNING, ERROR, FATAL $GLOBALS['LSlog']['enable'] = true; 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); define('MAX_SEND_FILE_SIZE',2000000); diff --git a/src/includes/routes.php b/src/includes/routes.php index 80512897..9f35c290 100644 --- a/src/includes/routes.php +++ b/src/includes/routes.php @@ -629,7 +629,7 @@ function handle_LSobject_select($request) { // Handle form POST data $LSsearch -> setParamsFormPostData(); - $LSsearch -> setParam('nbObjectsByPage', 4); + $LSsearch -> setParam('nbObjectsByPage', NB_LSOBJECT_LIST_SELECT); $page = (isset($_REQUEST['page'])?(int)$_REQUEST['page']:0);