starttime events
This commit is contained in:
1 parent
f3b59268b0
commit
065a7c3ef9
2 files changed
+2
-2
No files matched your search
@@ -67,7 +67,8 @@ class EventResource extends Resource
|
||||
->with('event_user_star')
|
||||
->with('event_user_note')
|
||||
->where('has_markets', 1)
|
||||
->where('sport_id', auth()->user()->sport_id);
|
||||
->where('sport_id', auth()->user()->sport_id)
|
||||
->orderBy('starttime');
|
||||
|
||||
$query->where('starttime', '>=', Carbon::now()->timezone('CET'));
|
||||
|
||||
|
||||
@@ -174,7 +174,6 @@ class EventsTable
|
||||
->label('Draw No Bet'),
|
||||
])
|
||||
->searchable(['id', 'home.name', 'away.name', 'betsapi_id', 'betradar_id', 'bet365_id', 'bwin_id', 'event_bookmaker.event_id'])
|
||||
->defaultSort('starttime', 'ASC')
|
||||
->extremePaginationLinks()
|
||||
->filters([
|
||||
Filter::make('events')
|
||||
|
||||
Reference in new issue
Block a user