From a8ec8c73d72f90fb16b8ebfdc79a0bba6223018b Mon Sep 17 00:00:00 2001 From: salam Date: Tue, 3 Feb 2026 21:37:16 +0100 Subject: [PATCH] mapper fix --- app/Livewire/MapperLeft.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Livewire/MapperLeft.php b/app/Livewire/MapperLeft.php index 88292e77..3699b63c 100644 --- a/app/Livewire/MapperLeft.php +++ b/app/Livewire/MapperLeft.php @@ -85,7 +85,7 @@ class MapperLeft extends Component implements HasActions, HasSchemas, HasTable ->options(function () { $res = Event::query()->where('sport_id', auth()->user()->sport_id)->where('betradar_id', 0)->where('starttime', '>', Carbon::now())->groupBy('country_id')->pluck('country_id')->toArray(); - return Country::query()->where('id', $res)->orderBy('name')->pluck('name', 'id'); + return Country::query()->whereIn('id', $res)->orderBy('name')->pluck('name', 'id'); }) ->live() ->reactive()