Skip to content

Commit

Permalink
Merge pull request #289 from julienTroopers/patch-1
Browse files Browse the repository at this point in the history
allow non scalar values for criteria
  • Loading branch information
oallain authored Jun 22, 2023
2 parents 771c96b + c99a998 commit fb197dd
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 fb197dd

Please sign in to comment.