Skip to content

Commit 27338e9

Browse files
committed
wip
1 parent 638cd7d commit 27338e9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Fields/Relation.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -434,9 +434,7 @@ public function filters(Request $request): array
434434

435435
$sortables = $fields->sortable();
436436

437-
$filterables = $fields->filter(static function (Field $field): bool {
438-
return $field->isFilterable() && ! $field->isSearchable();
439-
});
437+
$filterables = $fields->filterable();
440438

441439
return array_values(array_filter([
442440
$searchables->isNotEmpty() ? new Search($searchables) : null,

0 commit comments

Comments
 (0)