Fix: Tag searches hadn't been stored as tags

This commit is contained in:
Michael 2018-02-26 11:45:53 +00:00
parent 9fc0e02bf9
commit 84ea6cab32

View File

@ -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