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.
2 parents a48958f + 855bfd4 commit d6e5c9dCopy full SHA for d6e5c9d
src/app/Library/CrudPanel/CrudFilter.php
@@ -145,10 +145,15 @@ public function getViewWithNamespace()
145
public function getNamespacedViewWithFallbacks()
146
{
147
$type = $this->type;
148
+ $namespaces = config('backpack.crud.view_namespaces.filters');
149
+
150
+ if ($this->viewNamespace != 'crud::filters') {
151
+ $namespaces = array_merge([$this->viewNamespace], $namespaces);
152
+ }
153
154
return array_map(function ($item) use ($type) {
155
return $item.'.'.$type;
- }, config('backpack.crud.view_namespaces.filters'));
156
+ }, $namespaces);
157
}
158
159
// ---------------------
0 commit comments