Location (aprox): /search.php:552
An extension that wants to add a new permissions that requires post editing to searching such that it depends on more elements to filter than the original parameters that are sent to the phpbb\search\base::keyword_search() && phpbb\search\base::author_search()
Is going to break due to its caching system.
Because of that, filtering after the results are gathered is required also to alter the number of results in the response.
None of theses is perfect but I cannot find an actual good solution for this problem.
In large forums, my previous solution does not work so I'm trying a different approach.