wip grapper

This commit is contained in:
salam committed 2025-12-06 10:18:04 +01:00
1 parent 90bba45c0a
commit ce46e5d107
34 files changed
+565 -2729

No files matched your search

@@ -57,8 +57,7 @@ class EventResource extends Resource
public static function getNavigationBadge(): ?string
{
return parent::getEloquentQuery()
->count();
return parent::getEloquentQuery()->withoutGlobalScopes()->where('starttime', '>', Carbon::now())->count();
}
public static function getEloquentQuery(): Builder