Skip to content

Commit

Permalink
Fix filter data as array of ArrayAssoc
Browse files Browse the repository at this point in the history
  • Loading branch information
elring authored and Pavel Janda committed Feb 14, 2022
1 parent 6fffc31 commit dc1b2e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DataGrid.php
Original file line number Diff line number Diff line change
Expand Up @@ -1495,7 +1495,7 @@ public function filterSucceeded(NetteForm $form): void
return;
}

$values = $form->getUnsafeValues('array');
$values = (array) $form->getUnsafeValues(null);

if ($this->getPresenterInstance()->isAjax()) {
if (isset($form['group_action']['submit']) && $form['group_action']['submit']->isSubmittedBy()) {
Expand Down

0 comments on commit dc1b2e2

Please sign in to comment.