Skip to content

Commit

Permalink
Merge pull request #18 from webfactory/139688-hotfix-query-cache
Browse files Browse the repository at this point in the history
Hotfix: Consider result of FilterStrategy in Query Cache
  • Loading branch information
MalteWunsch authored Mar 9, 2022
2 parents c1f76af + 1677f11 commit 2277e0e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/DependencyInjection/OnRequestDependencyInjector.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,6 @@ public function setUpFilter(GetResponseEvent $event): void
$visibilityFilter = $filterCollection->getFilter(VisibilityColumnConsideringSQLFilter::NAME);

$visibilityFilter->injectDependencies($this->filterStrategy, $this->visibilityColumnRetriever);
$visibilityFilter->setParameter('visibility', $this->filterStrategy->getFilterSql(''));
}
}

0 comments on commit 2277e0e

Please sign in to comment.