lib/SimpleQuery: Increase default limit to 25

Please follow the referenced issues.

fixes #8337
refs #8339
This commit is contained in:
Eric Lippmann 2015-02-02 14:15:09 +01:00
parent 4bac5dfc37
commit 52c40bdc5b
1 changed files with 1 additions and 1 deletions

View File

@ -320,7 +320,7 @@ class SimpleQuery implements QueryInterface, Queryable
// Detect parameters from request
$request = Icinga::app()->getFrontController()->getRequest();
if ($itemsPerPage === null) {
$itemsPerPage = $request->getParam('limit', 20);
$itemsPerPage = $request->getParam('limit', 25);
}
if ($pageNumber === null) {
$pageNumber = $request->getParam('page', 0);