mirror of
https://github.com/tuxis-ie/nsedit.git
synced 2025-04-19 20:09:14 +03:00
Fix paging
This commit is contained in:
parent
33faa1d7a2
commit
fa3681cbdb
1 changed files with 3 additions and 0 deletions
|
@ -194,6 +194,9 @@ if ($action == "list" or $action== "listslaves") {
|
|||
}
|
||||
}
|
||||
usort($return, "zonesort");
|
||||
if (isset($_GET['jtStartIndex']) and isset($_GET['jtPageSize'])) {
|
||||
jtable_respond(array_slice($return, $_GET['jtStartIndex'], $_GET['jtPageSize']));
|
||||
}
|
||||
jtable_respond($return);
|
||||
} elseif ($action == "create") {
|
||||
if (_valid_label($_POST['name']) === FALSE) {
|
||||
|
|
Loading…
Add table
Reference in a new issue