qsearch_results should change the ids of the result set, otherwise the changed_results will be overwritten by the following code during permission checks

This commit is contained in:
Thomas Kempf
2022-07-11 10:12:43 +02:00
committed by Pierrick Le Gall
parent dd44d0e409
commit c36ca8712d
+1 -1
View File
@@ -1427,7 +1427,7 @@ function get_quick_search_results_no_cache($q, $options)
$search_results['qs']['matching_tags'] = $qsr->all_tags;
$search_results['qs']['matching_cats'] = $qsr->all_cats;
$search_results = trigger_change('qsearch_results', $search_results, $expression, $qsr);
$ids = trigger_change('qsearch_results', $ids, $expression, $qsr);
global $template;