Skip to content

Commit

Permalink
add filter
Browse files Browse the repository at this point in the history
  • Loading branch information
alnutile committed Sep 13, 2024
1 parent 1a1b27f commit 3a1df68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Filament/Resources/EventResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public static function table(Table $table): Table
DateRangeFilter::make('start_date'),
Tables\Filters\SelectFilter::make('collection_id')
->label('Collection')
->options(Collection::orderBy("name")->get()->pluck('name', 'id')),
->options(Collection::orderBy('name')->get()->pluck('name', 'id')),
])
->actions([
Tables\Actions\EditAction::make(),
Expand Down

0 comments on commit 3a1df68

Please sign in to comment.