mirror of
https://github.com/flarum/core.git
synced 2025-10-13 07:54:25 +02:00
Make filter mutator API consistent with search mutator API.
This is inline with the docblock for the Filter extender, and is much more sensible.
This commit is contained in:
@@ -77,7 +77,7 @@ abstract class AbstractFilterer
|
||||
// END DEPRECATED BC LAYER
|
||||
|
||||
foreach ($this->filterMutators as $mutator) {
|
||||
$mutator($query, $actor, $criteria->query, $criteria->sort);
|
||||
$mutator($filterState, $criteria);
|
||||
}
|
||||
|
||||
// Execute the filter query and retrieve the results. We get one more
|
||||
|
Reference in New Issue
Block a user