From 2f881200e2dd40571c4f9e1713ae3beb4cce1f87 Mon Sep 17 00:00:00 2001 From: salam Date: Fri, 23 Jan 2026 14:10:25 +0100 Subject: [PATCH] wip --- app/Filament/Resources/Events/Tables/EventsTable.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Filament/Resources/Events/Tables/EventsTable.php b/app/Filament/Resources/Events/Tables/EventsTable.php index f67043fe..b1e6ae69 100644 --- a/app/Filament/Resources/Events/Tables/EventsTable.php +++ b/app/Filament/Resources/Events/Tables/EventsTable.php @@ -218,7 +218,7 @@ class EventsTable ->options(function () { $res = Event::where('sport_id', self::$user->sport_id)->where('starttime', '>', Carbon::now())->groupBy('country_id')->pluck('country_id')->toArray(); - return Country::query()->whereIn('id', $res)->pluck('name', 'id'); + return Country::query()->whereIn('id', $res)->orderBy('name')->pluck('name', 'id'); }) ->live() ->reactive()