Skip to content

Commit

Permalink
FilterProcessor: Allow behaviors to finish processing
Browse files Browse the repository at this point in the history
  • Loading branch information
nilmerg committed Mar 26, 2024
1 parent 8e69d1a commit fdedd7f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Compat/FilterProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,13 @@ protected function requireAndResolveFilterColumns(Filter\Rule $filter, Query $qu
if (! $behaviorsApplied) {
$rewrittenFilter = $subjectBehaviors->rewriteCondition($filter, $path . '.');
if ($rewrittenFilter !== null) {
if (
$rewrittenFilter instanceof MetaDataProvider
&& $rewrittenFilter->metaData()->get('forceResolved', false)
) {
return $rewrittenFilter;
}

return $this->requireAndResolveFilterColumns($rewrittenFilter, $query, $forceOptimization)
?: $rewrittenFilter;
}
Expand Down

0 comments on commit fdedd7f

Please sign in to comment.