From 8ab8e8dc07cf05a3f6b6a1f56f4cb10d8944ced4 Mon Sep 17 00:00:00 2001 From: Alex Justesen Date: Wed, 20 Nov 2024 14:13:41 -0500 Subject: [PATCH] added result url to export --- app/Filament/Exports/ResultExporter.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/Filament/Exports/ResultExporter.php b/app/Filament/Exports/ResultExporter.php index 05f7ac2ee..afe43fa46 100644 --- a/app/Filament/Exports/ResultExporter.php +++ b/app/Filament/Exports/ResultExporter.php @@ -101,6 +101,10 @@ public static function getColumns(): array ->state(function (Result $record): ?string { return $record->download_latency_iqm; }), + ExportColumn::make('result_url') + ->state(function (Result $record) { + return $record->result_url; + }), ExportColumn::make('comments') ->enabledByDefault(false), // ExportColumn::make('status'), // TODO: enable status when upgrading to PHP v8.3: https://php.watch/versions/8.3/dynamic-class-const-enum-member-syntax-support