Fixed overly eager url encoding on the search page.

This commit is contained in:
flash 2023-10-18 10:11:21 +00:00
parent 9aa2a1431e
commit 4f1e35b566

View file

@ -36,7 +36,7 @@ Template::addFunction('search_merge_query', function($attrs) use (&$searchQueryE
empty($attrs['query']) ? [] : explode(' ', $attrs['query']) empty($attrs['query']) ? [] : explode(' ', $attrs['query'])
))); )));
return rawurlencode(implode(' ', $existing)); return implode(' ', $existing);
}); });
if(!empty($searchQuery)) { if(!empty($searchQuery)) {
$usersCtx = $msz->getUsersContext(); $usersCtx = $msz->getUsersContext();