Skip to content

Commit

Permalink
allow non scalar values for criteria
Browse files Browse the repository at this point in the history
  • Loading branch information
julienTroopers authored Feb 14, 2023
1 parent c85ffe4 commit c99a998
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Listener/ExportButtonGridListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c99a998

Please sign in to comment.