Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

Commit

Permalink
bugfix(grid) - Fixing POST grid filtering by "0" (#1869)
Browse files Browse the repository at this point in the history
  • Loading branch information
wiewiurdp authored Jan 26, 2022
1 parent 49979c1 commit 0337183
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/grid/src/PostGridConfiguration.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function __construct(Request $request)

$column = $filter['column'];
$operator = $filter['operator'];
$value = $filter['value'] ? (string) $filter['value']: null;
$value = (isset($filter['value']) && "" !== $filter['value']) ? (string) $filter['value'] : null;
$language = array_key_exists('language', $filter) ? new Language($filter['language']) : null;
$key = $filter['column'];
if ($language) {
Expand Down

0 comments on commit 0337183

Please sign in to comment.