From 84ea6cab324303217c933ece317eba65b7440577 Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 26 Feb 2018 11:45:53 +0000 Subject: [PATCH] Fix: Tag searches hadn't been stored as tags --- mod/search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/search.php b/mod/search.php index 1f93934658..be0f943d07 100644 --- a/mod/search.php +++ b/mod/search.php @@ -146,7 +146,7 @@ function search_content(App $a) { $tag = false; if (x($_GET,'tag')) { $tag = true; - $search = ((x($_GET,'tag')) ? notags(trim(rawurldecode($_GET['tag']))) : ''); + $search = (x($_GET,'tag') ? '#' . notags(trim(rawurldecode($_GET['tag']))) : ''); } // contruct a wrapper for the search header