Update devices.php (#2599)
Carry the search across multiple page results.
This commit is contained in:
@@ -107,9 +107,9 @@
|
|||||||
//prepare to page the results
|
//prepare to page the results
|
||||||
$rows_per_page = ($_SESSION['domain']['paging']['numeric'] != '') ? $_SESSION['domain']['paging']['numeric'] : 50;
|
$rows_per_page = ($_SESSION['domain']['paging']['numeric'] != '') ? $_SESSION['domain']['paging']['numeric'] : 50;
|
||||||
if ($_GET['showall'] && permission_exists('device_all')) {
|
if ($_GET['showall'] && permission_exists('device_all')) {
|
||||||
$param = "&showall=true";
|
$param = "&search=".$search."&showall=true";
|
||||||
} else {
|
} else {
|
||||||
$param = "";
|
$param = "&search=".$search;
|
||||||
}
|
}
|
||||||
$page = $_GET['page'];
|
$page = $_GET['page'];
|
||||||
if (strlen($page) == 0) { $page = 0; $_GET['page'] = 0; }
|
if (strlen($page) == 0) { $page = 0; $_GET['page'] = 0; }
|
||||||
|
|||||||
Reference in New Issue
Block a user