We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf8f5c9 commit 078d49eCopy full SHA for 078d49e
src/app/Library/CrudPanel/CrudFilter.php
@@ -106,6 +106,10 @@ public function apply($input = null)
106
$input = $input ?? new ParameterBag($this->crud()->getRequest()->all());
107
108
if (! $input->has($this->name)) {
109
+ // if fallback logic was supplied and is a closure
110
+ if (is_callable($this->fallbackLogic)) {
111
+ return ($this->fallbackLogic)();
112
+ }
113
return;
114
}
115
0 commit comments