]> git.mxchange.org Git - friendica.git/commitdiff
Fix: Tag searches hadn't been stored as tags
authorMichael <heluecht@pirati.ca>
Mon, 26 Feb 2018 11:45:53 +0000 (11:45 +0000)
committerMichael <heluecht@pirati.ca>
Mon, 26 Feb 2018 11:45:53 +0000 (11:45 +0000)
mod/search.php

index 1f93934658f822b0ff31526cbcedb9c8a41df42f..be0f943d07c4a7e830089213a26588e308eacaed 100644 (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