From 1353d42b55a73b3898ffd5419f46923ebb340f09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20W=C3=B3js?= Date: Mon, 28 Nov 2022 14:16:04 +0100 Subject: [PATCH] IBX-1294: Fixed deprecated RequestStack::getMasterRequest usages (#18) --- src/lib/ContentView/QueryResultsInjector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ContentView/QueryResultsInjector.php b/src/lib/ContentView/QueryResultsInjector.php index 54d48c5..b26695b 100644 --- a/src/lib/ContentView/QueryResultsInjector.php +++ b/src/lib/ContentView/QueryResultsInjector.php @@ -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') : [];