From 1b515dc75bdf8b27908939a766902edbdf16e7ca Mon Sep 17 00:00:00 2001 From: konradSC Date: Tue, 23 May 2017 11:23:35 -0400 Subject: [PATCH] Update devices.php (#2599) Carry the search across multiple page results. --- app/devices/devices.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/devices/devices.php b/app/devices/devices.php index ad66246b83..f56563bb9e 100644 --- a/app/devices/devices.php +++ b/app/devices/devices.php @@ -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; }