From 78c72d19372f1b8bfa35fa5d88ded1122637a4d7 Mon Sep 17 00:00:00 2001 From: Russ Long Date: Mon, 8 Aug 2022 21:07:15 -0400 Subject: [PATCH] scores sort --- app/Filament/Resources/VehicleScoresResource.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Filament/Resources/VehicleScoresResource.php b/app/Filament/Resources/VehicleScoresResource.php index b8fc176..81827bd 100644 --- a/app/Filament/Resources/VehicleScoresResource.php +++ b/app/Filament/Resources/VehicleScoresResource.php @@ -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([ //