Skip to content

Commit 855bfd4

Browse files
committed
fix filters from custom namespace
1 parent c0b2dae commit 855bfd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/Library/CrudPanel/CrudFilter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ public function getNamespacedViewWithFallbacks()
148148
$namespaces = config('backpack.crud.view_namespaces.filters');
149149

150150
if ($this->viewNamespace != 'crud::filters') {
151-
$namespaces[] = $this->viewNamespace;
151+
$namespaces = array_merge([$this->viewNamespace], $namespaces);
152152
}
153153

154154
return array_map(function ($item) use ($type) {

0 commit comments

Comments
 (0)