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