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([ ->schema([
Select::make('vehicle') Select::make('vehicle')
->label('Vehicle') ->label('Vehicle')
->options(Vehicles::all()->sortBy('owner', 'asc')->pluck('owner', 'id')) ->options(Vehicles::all()->sortBy('owner')->pluck('owner', 'id'))
->searchable(), ->searchable(),
TextInput::make('pc_count'), TextInput::make('pc_count'),
]); ]);