]> git.mxchange.org Git - friendica.git/blobdiff - mod/search.php
Mentions are now displayed much faster. Attention: The related database update can...
[friendica.git] / mod / search.php
index 6694fbc780d75aa6ec43cf0b0623803571a0c170..aedd6394031f15ca6a06971623c98b5cc45f1962 100644 (file)
@@ -124,6 +124,9 @@ function search_content(&$a) {
        if(! $search)
                return $o;
 
+       if (get_config('system','only_tag_search'))
+               $tag = true;
+
        if (get_config('system','use_fulltext_engine')) {
                if($tag)
                        $sql_extra = sprintf(" AND MATCH (`item`.`tag`) AGAINST ('".'"%s"'."' in boolean mode) ", '#'.dbesc(protect_sprintf($search)));