From 6fb18dc22307771b0b0f92f5df60e9d49f0104fa Mon Sep 17 00:00:00 2001 From: salam Date: Fri, 13 Feb 2026 13:43:09 +0100 Subject: [PATCH] wip --- app/Livewire/MapperRight.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Livewire/MapperRight.php b/app/Livewire/MapperRight.php index e9251fd0..92889c53 100644 --- a/app/Livewire/MapperRight.php +++ b/app/Livewire/MapperRight.php @@ -101,7 +101,7 @@ class MapperRight extends Component implements HasActions, HasSchemas, HasTable ->preload() ->live() ->options(function (Get $get) { - return Mapper::query()->where('sport_id', auth()->user()->sport_id)->where('provider_id', auth()->user()->provider_id)->where('starttime', '>', Carbon::now())->groupBy('country_id')->pluck('country', 'country_id')->toArray(); + return Mapper::query()->where('sport_id', auth()->user()->sport_id)->where('provider_id', auth()->user()->provider_id)->where('starttime', '>', Carbon::now())->groupBy('country_id')->orderBy('country')->pluck('country', 'country_id')->toArray(); }) ->afterStateUpdated(function (callable $set) { $set('group_id', null);