scores sort

This commit is contained in:
Russ Long 2022-08-08 21:07:15 -04:00
parent 6a118fc047
commit 78c72d1937

View File

@ -48,9 +48,9 @@ class VehicleScoresResource extends Resource
{
return $table
->columns([
TextColumn::make('judge.judge_number')->label('Judge'),
TextColumn::make('scoredVehicle.owner')->label('Vehicle Number'),
TextColumn::make('overall_score')->label('Score'),
TextColumn::make('judge.judge_number')->label('Judge')->sortable(),
TextColumn::make('scoredVehicle.owner')->label('Vehicle Number')->sortable(),
TextColumn::make('overall_score')->label('Score')->sortable(),
])
->filters([
//