Skip to content

Commit

Permalink
IBX-1294: Fixed deprecated RequestStack::getMasterRequest usages
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwojs committed Nov 25, 2022
1 parent 683b030 commit a205641
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/ContentView/QueryResultsInjector.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ private function buildResults(FilterViewParametersEvent $event): iterable
}

if ($paginationLimit !== 0 && $disablePagination !== true) {
$request = $this->requestStack->getMasterRequest();
$request = $this->requestStack->getMainRequest();

$queryParameters = $view->hasParameter('query') ? $view->getParameter('query') : [];

Expand Down

0 comments on commit a205641

Please sign in to comment.