Commit 2a9b312b authored by Ad Schellevis's avatar Ad Schellevis Committed by GitHub

Merge pull request #1127 from pv2b/uimodelgrid-itemsperpage-default

(Base) Default to inf rows not 9999
parents 74a8a4f0 53fe7bc4
...@@ -58,7 +58,7 @@ class UIModelGrid ...@@ -58,7 +58,7 @@ class UIModelGrid
*/ */
public function fetchBindRequest($request, $fields, $defaultSort = null) public function fetchBindRequest($request, $fields, $defaultSort = null)
{ {
$itemsPerPage = $request->get('rowCount', 'int', 9999); $itemsPerPage = $request->get('rowCount', 'int', -1);
$currentPage = $request->get('current', 'int', 1); $currentPage = $request->get('current', 'int', 1);
$sortBy = array($defaultSort); $sortBy = array($defaultSort);
$sortDescending = false; $sortDescending = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment