wip
This commit is contained in:
1 parent
9265e576eb
commit
66e26323a4
1 file changed
+2
-2
@@ -21,7 +21,7 @@ class LoadProvider
|
||||
if (is_array($search_values) and \count($search_values)) {
|
||||
|
||||
return Mapper::query()
|
||||
->whereDate('starttime', '>', Carbon::now()->subHours(12))
|
||||
// ->whereDate('starttime', '>', Carbon::now()->subHours(12))
|
||||
->where('sport_id', auth()->user()->sport_id)
|
||||
->where('provider_id', auth()->user()->provider_id)
|
||||
->where(function ($query) use ($search_values) {
|
||||
@@ -33,7 +33,7 @@ class LoadProvider
|
||||
|
||||
} else {
|
||||
return Mapper::query()
|
||||
->whereDate('starttime', '>', Carbon::now()->subHours(12))
|
||||
// ->whereDate('starttime', '>', Carbon::now()->subHours(12))
|
||||
->where('sport_id', auth()->user()->sport_id)
|
||||
->where('provider_id', auth()->user()->provider_id);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user