From 7da2d0922597417a68d54205bbafc2f98c08718e Mon Sep 17 00:00:00 2001 From: johnnyq Date: Sat, 12 Feb 2022 22:34:37 -0500 Subject: [PATCH] Hide Data columns in global search that are not found also keep the search query in the global search --- footer.php | 2 +- global_search.php | 27 +++++++++++++++++++++++++-- top_nav.php | 4 ++-- 3 files changed, 28 insertions(+), 5 deletions(-) diff --git a/footer.php b/footer.php index 70b76ce5..c43a3654 100644 --- a/footer.php +++ b/footer.php @@ -30,4 +30,4 @@ - + \ No newline at end of file diff --git a/global_search.php b/global_search.php index cb628179..0f6d5f82 100644 --- a/global_search.php +++ b/global_search.php @@ -16,9 +16,11 @@ if(isset($_GET['query'])){ $q = htmlentities($_GET['query']); ?> -

Welcome to Global Search...

+

Search all things


+ + 0){ ?> @@ -66,6 +68,10 @@ if(isset($_GET['query'])){
+ + + 0){ ?> +
@@ -105,6 +111,10 @@ if(isset($_GET['query'])){
+ + + 0){ ?> +
@@ -141,6 +151,10 @@ if(isset($_GET['query'])){
+ + + 0){ ?> +
@@ -182,6 +196,9 @@ if(isset($_GET['query'])){
+ + + 0){ ?>
@@ -225,6 +242,10 @@ if(isset($_GET['query'])){
+ + + 0){ ?> +
@@ -253,7 +274,7 @@ if(isset($_GET['query'])){ - + @@ -268,6 +289,8 @@ if(isset($_GET['query'])){
+ + diff --git a/top_nav.php b/top_nav.php index 6ff9a4b6..d284590d 100644 --- a/top_nav.php +++ b/top_nav.php @@ -9,9 +9,9 @@ -
+
- +