Skip to content

Commit

Permalink
Filters panel is collapsed on selected filter value "0"
Browse files Browse the repository at this point in the history
  • Loading branch information
zoryamba authored and endihunter committed Jul 29, 2019
1 parent 16241ce commit cd5c19e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion publishes/views/index/filters.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
$resetUrl = method_exists($module, 'defaultRoute') ? $module->defaultRoute() : route('scaffold.index', ['module' => $module]);
$filled = $elements ? $elements->reduce(function ($filled, $element) {
if ($element->getInput()->getValue()) {
if ((string) $element->getInput()->getValue() !== '') {
++$filled;
}
Expand Down

0 comments on commit cd5c19e

Please sign in to comment.