Skip to content

Commit 3a1df68

Browse files
committed
add filter
1 parent 1a1b27f commit 3a1df68

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Filament/Resources/EventResource.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public static function table(Table $table): Table
4444
DateRangeFilter::make('start_date'),
4545
Tables\Filters\SelectFilter::make('collection_id')
4646
->label('Collection')
47-
->options(Collection::orderBy("name")->get()->pluck('name', 'id')),
47+
->options(Collection::orderBy('name')->get()->pluck('name', 'id')),
4848
])
4949
->actions([
5050
Tables\Actions\EditAction::make(),

0 commit comments

Comments
 (0)