diff --git a/publishes/views/index/filters.blade.php b/publishes/views/index/filters.blade.php index 43d9562..5d8c797 100755 --- a/publishes/views/index/filters.blade.php +++ b/publishes/views/index/filters.blade.php @@ -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; }