all where to whereDate for starttime

This commit is contained in:
salam committed 2026-02-22 17:08:41 +01:00
1 parent dcaf503b71
commit 831c8507cf
16 files changed
+66 -71

No files matched your search

+2 -2
View File
@@ -19,7 +19,7 @@ class LoadProvider
if (is_array($search_values) and \count($search_values)) {
return Mapper::query()
->where('starttime', '>', Carbon::now())
->whereDate('starttime', '>', Carbon::now())
->where('sport_id', $user->sport_id)
->where('provider_id', $user->provider_id)
->where(function ($query) use ($search_values) {
@@ -31,7 +31,7 @@ class LoadProvider
} else {
return Mapper::query()
->where('starttime', '>', Carbon::now())
->whereDate('starttime', '>', Carbon::now())
->where('sport_id', $user->sport_id)
->where('provider_id', $user->provider_id);
}