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 25, 2024
1 parent 8e69d1a commit e414f29
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Compat/FilterProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,10 @@ protected function requireAndResolveFilterColumns(Filter\Rule $filter, Query $qu
if (! $behaviorsApplied) {
$rewrittenFilter = $subjectBehaviors->rewriteCondition($filter, $path . '.');
if ($rewrittenFilter !== null) {
if ($rewrittenFilter->metaData()->get('forceResolved', false)) {

Check failure on line 142 in src/Compat/FilterProcessor.php

View workflow job for this annotation

GitHub Actions / Static analysis for php 7.2 on ubuntu-latest

Call to an undefined method ipl\Stdlib\Filter\Rule::metaData().

Check failure on line 142 in src/Compat/FilterProcessor.php

View workflow job for this annotation

GitHub Actions / Static analysis for php 7.3 on ubuntu-latest

Call to an undefined method ipl\Stdlib\Filter\Rule::metaData().

Check failure on line 142 in src/Compat/FilterProcessor.php

View workflow job for this annotation

GitHub Actions / Static analysis for php 7.4 on ubuntu-latest

Call to an undefined method ipl\Stdlib\Filter\Rule::metaData().

Check failure on line 142 in src/Compat/FilterProcessor.php

View workflow job for this annotation

GitHub Actions / Static analysis for php 8.0 on ubuntu-latest

Call to an undefined method ipl\Stdlib\Filter\Rule::metaData().

Check failure on line 142 in src/Compat/FilterProcessor.php

View workflow job for this annotation

GitHub Actions / Static analysis for php 8.1 on ubuntu-latest

Call to an undefined method ipl\Stdlib\Filter\Rule::metaData().

Check failure on line 142 in src/Compat/FilterProcessor.php

View workflow job for this annotation

GitHub Actions / Static analysis for php 8.2 on ubuntu-latest

Call to an undefined method ipl\Stdlib\Filter\Rule::metaData().
return $rewrittenFilter;
}

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

0 comments on commit e414f29

Please sign in to comment.