From 3a1df685f0f3aacf04f28edb7b34f7309ab1ae51 Mon Sep 17 00:00:00 2001 From: Alfred Nutile Date: Fri, 13 Sep 2024 14:17:57 -0400 Subject: [PATCH] add filter --- app/Filament/Resources/EventResource.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Filament/Resources/EventResource.php b/app/Filament/Resources/EventResource.php index 81da7fbd..440625ad 100644 --- a/app/Filament/Resources/EventResource.php +++ b/app/Filament/Resources/EventResource.php @@ -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(),