This commit is contained in:
salam committed 2026-02-02 09:02:39 +01:00
1 parent 155177045b
commit 51a195e657
6 files changed
+70 -36

No files matched your search

@@ -65,18 +65,6 @@ class EventResource extends Resource
->where('sport_id', auth()->user()->sport_id)
->where('starttime', '>=', now());
if (auth()->user()->filter_stars) {
$query->whereHas('event_user_star');
}
if (auth()->user()->filter_notes) {
$query->whereHas('event_user_note');
}
if (auth()->user()->filter_notification) {
$query->whereHas('event_user_notification');
}
if (auth()->user()->all_only_none > 0) {
switch (auth()->user()->all_only_none) {
case 1: