Always load the master and slave zones

This commit is contained in:
Mark Schouten 2014-09-26 13:13:18 +02:00
parent ee0729e6c0
commit f047f60712
2 changed files with 3 additions and 3 deletions

View file

@ -112,7 +112,7 @@ function jtable_respond($records, $method = 'multiple', $msg = 'Undefined errorm
} else {
if (isset($_GET['jtPageSize'])) {
$jTableResult['TotalRecordCount'] = count($records);
$records = array_slice($records, $_GET['jtStartIndex']-1, $_GET['jtPageSize']);
$records = array_slice($records, $_GET['jtStartIndex'], $_GET['jtPageSize']);
}
$jTableResult['Result'] = "OK";
$jTableResult['Records'] = $records;