From eebffa5fa29c776a2c0a52290ff5e5752faab204 Mon Sep 17 00:00:00 2001 From: Russ Long Date: Sun, 7 Aug 2022 13:23:46 -0400 Subject: [PATCH] one more sort fix --- app/Filament/Resources/PeoplesChoiceResource.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Filament/Resources/PeoplesChoiceResource.php b/app/Filament/Resources/PeoplesChoiceResource.php index 9e44fa6..4efe6cc 100644 --- a/app/Filament/Resources/PeoplesChoiceResource.php +++ b/app/Filament/Resources/PeoplesChoiceResource.php @@ -33,7 +33,7 @@ class PeoplesChoiceResource extends Resource ->schema([ Select::make('vehicle') ->label('Vehicle') - ->options(Vehicles::all()->sortBy('owner', 'asc')->pluck('owner', 'id')) + ->options(Vehicles::all()->sortBy('owner')->pluck('owner', 'id')) ->searchable(), TextInput::make('pc_count'), ]);