From ad3dbe3b42db2b815004143cc5233ea4fa0405a0 Mon Sep 17 00:00:00 2001 From: Russ Long Date: Thu, 11 Aug 2022 17:14:34 -0400 Subject: [PATCH] vscore relation --- app/Filament/Resources/VehicleScoresResource.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Filament/Resources/VehicleScoresResource.php b/app/Filament/Resources/VehicleScoresResource.php index 2ca5f87..820946e 100644 --- a/app/Filament/Resources/VehicleScoresResource.php +++ b/app/Filament/Resources/VehicleScoresResource.php @@ -48,7 +48,7 @@ class VehicleScoresResource extends Resource { return $table ->columns([ - TextColumn::make('judge.judge_number')->label('Judge')->sortable(), + TextColumn::make('judges.judge_number')->label('Judge')->sortable(), TextColumn::make('scoredVehicle.owner')->label('Vehicle Number')->sortable(), TextColumn::make('overall_score')->label('Score')->sortable(), ])