Apps: Integrate ability to set paging via a Default/Domain/User Setting (domain > paging > numeric).

This commit is contained in:
reliberate
2016-03-28 23:02:11 -06:00
parent 7c5176cf41
commit cd7843b7f3
49 changed files with 61 additions and 51 deletions

View File

@@ -115,7 +115,7 @@ if (sizeof($_REQUEST) > 1) {
}
//prepare to page the results
$rows_per_page = 200;
$rows_per_page = ($_SESSION['domain']['paging']['numeric'] != '') ? $_SESSION['domain']['paging']['numeric'] : 200;
$param = "";
$page = $_GET['page'];
if (strlen($page) == 0) { $page = 0; $_GET['page'] = 0; }

View File

@@ -132,7 +132,7 @@ require_once "resources/check_auth.php";
}
//prepare to page the results
$rows_per_page = 100;
$rows_per_page = ($_SESSION['domain']['paging']['numeric'] != '') ? $_SESSION['domain']['paging']['numeric'] : 50;
$param = "";
$page = $_GET['page'];
if (strlen($page) == 0) { $page = 0; $_GET['page'] = 0; }