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

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