diff --git a/src/Listener/ExportButtonGridListener.php b/src/Listener/ExportButtonGridListener.php index 705a6a6f..a516a017 100644 --- a/src/Listener/ExportButtonGridListener.php +++ b/src/Listener/ExportButtonGridListener.php @@ -86,7 +86,7 @@ private function addLink(string $format): array $currentRequest = $this->requestStack->getCurrentRequest(); if ($currentRequest) { // @TODO Find way to validate the list of criteria injected - $parameters['criteria'] = $currentRequest->query->get('criteria'); + $parameters['criteria'] = $currentRequest->get('criteria'); } $resource = $this->resource;