one more sort fix

This commit is contained in:
Russ Long 2022-08-07 13:23:46 -04:00
parent e0182f4127
commit eebffa5fa2

View File

@ -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'),
]);