wip grapper
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user