This commit is contained in:
nurmuhammet committed 2023-12-01 11:27:01 +05:00
1 parent 1b7e965db1
commit 32dad6b8a7
4 files changed
+5 -4

No files matched your search

+1 -1
View File
@@ -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(),
];
}