]> BookStack Code Mirror - bookstack/blobdiff - app/Search/SearchOptions.php
added routes for zip export
[bookstack] / app / Search / SearchOptions.php
index a6f82029920ee7dd0a0ce1de8416a3498764f11b..bf527d9c3058c1a87f988212da0d086c63fe66e6 100644 (file)
@@ -181,7 +181,7 @@ class SearchOptions
     protected static function parseStandardTermString(string $termString): array
     {
         $terms = explode(' ', $termString);
-        $indexDelimiters = SearchIndex::$delimiters;
+        $indexDelimiters = implode('', array_diff(str_split(SearchIndex::$delimiters), str_split(SearchIndex::$softDelimiters)));
         $parsed = [
             'terms'  => [],
             'exacts' => [],