Prevent duplicate sort, order and page GET VARs in the URL when Clicking to Sort a field or Clicking a page number. We now unset the GET VAR arrays before recreating the URL GET Strings

This commit is contained in:
johnnyq
2023-07-08 14:40:00 -04:00
parent e7572c9e8f
commit 1bacabc72b
45 changed files with 58 additions and 47 deletions

View File

@@ -52,7 +52,8 @@ if (isset($_GET['type']) && ($_GET['type']) == 'workstation') {
}
//Rebuild URL
$url_query_strings_sort = http_build_query(array_merge($_GET, array('sort' => $sort, 'order' => $order)));
//Rebuild URL
$url_query_strings_sort = http_build_query($get_copy);
$sql = mysqli_query(
$mysqli,