Skip to content

Commit cd5c19e

Browse files
zoryambaendihunter
authored andcommitted
Filters panel is collapsed on selected filter value "0"
1 parent 16241ce commit cd5c19e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

publishes/views/index/filters.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
$resetUrl = method_exists($module, 'defaultRoute') ? $module->defaultRoute() : route('scaffold.index', ['module' => $module]);
55
66
$filled = $elements ? $elements->reduce(function ($filled, $element) {
7-
if ($element->getInput()->getValue()) {
7+
if ((string) $element->getInput()->getValue() !== '') {
88
++$filled;
99
}
1010

0 commit comments

Comments
 (0)