set resource order

This commit is contained in:
Russ Long 2023-03-16 13:49:01 -04:00
parent efa2e08c31
commit bc7a52ab28

View File

@ -34,7 +34,7 @@ class VehiclesResource extends Resource
->schema([
Select::make('owner')
->label('Owner')
->options(Bidders::all()->pluck('bidder_assigned_number', 'idbidders'))
->options(Bidders::orderBy('bidder_assigned_number')->all()->pluck('bidder_assigned_number', 'idbidders'))
->searchable(),
TextInput::make('year')
->label('Year'),