From c99a998ac645e1f746f4b926963e52957781bf2d Mon Sep 17 00:00:00 2001 From: julienTroopers <91535619+julienTroopers@users.noreply.github.com> Date: Tue, 14 Feb 2023 13:43:16 +0100 Subject: [PATCH] allow non scalar values for criteria --- src/Listener/ExportButtonGridListener.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;