diff --git a/public/search.php b/public/search.php index 9ec954c..a92753f 100644 --- a/public/search.php +++ b/public/search.php @@ -34,7 +34,7 @@ if (!empty($q)) { } // Mime list -$hostPagesMime = $sphinx->searchHostPagesMime($q); +$hostPagesMime = $sphinx->searchHostPagesMime(Filter::searchQuery($q, $m)); // Define page basics $totalPages = $sphinx->getHostPagesTotal(); @@ -310,7 +310,7 @@ if (filter_var($q, FILTER_VALIDATE_URL) && preg_match(CRAWL_URL_REGEXP, $q)) {