wip
This commit is contained in:
1 parent
1b7e965db1
commit
32dad6b8a7
4 files changed
+5
-4
No files matched your search
@@ -33,7 +33,7 @@ public function name(): string
|
||||
*/
|
||||
public function apply(NovaRequest $request, $query, $value)
|
||||
{
|
||||
return $query;
|
||||
return ($value) ? $query->where('status', $value) : $query;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -361,7 +361,6 @@ public function filters(NovaRequest $request): array
|
||||
return [
|
||||
new RegionFilter(),
|
||||
new StatusFilter(),
|
||||
new ActiveFilter(),
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user