From d6d56f729d8e3fe5345cba736ba72980d0eb87b6 Mon Sep 17 00:00:00 2001 From: salam Date: Sun, 14 Jun 2026 11:14:15 +0200 Subject: [PATCH] wip --- app/Filament/Resources/Events/Tables/EventsTable.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Filament/Resources/Events/Tables/EventsTable.php b/app/Filament/Resources/Events/Tables/EventsTable.php index 980ca8d2..4c7f208f 100644 --- a/app/Filament/Resources/Events/Tables/EventsTable.php +++ b/app/Filament/Resources/Events/Tables/EventsTable.php @@ -221,14 +221,14 @@ class EventsTable ->where('sport_id', auth()->user()->sport_id) ->where('starttime', '>', Carbon::now()) ->whereIn('country_id', $get('country_id')) - ->groupBy('competition_group_id')->get(); + ->get(); } else { $res = Event::where('has_markets', 1) ->with('country') ->with('competition_group') ->where('sport_id', auth()->user()->sport_id) ->where('starttime', '>', Carbon::now()) - ->groupBy('competition_group.id')->get(); + ->get(); } $arr = [];