mirror of
https://github.com/CachetHQ/Cachet.git
synced 2025-01-17 05:28:18 +01:00
Revert schedule maintenance
commit of de172e5defa4ac226044e3066413487fdee49de0 have made the schedule maintenance disappear completely. This PR reverts the change. Please fix the change or revert back.
This commit is contained in:
parent
de172e5def
commit
1fdb7909d3
@ -176,7 +176,7 @@ class Schedule extends Model implements HasPresenter
|
||||
*/
|
||||
public function scopeFutureSchedules($query)
|
||||
{
|
||||
return $query->whereIn('status', [self::UPCOMING, self::IN_PROGRESS])->where('completed_at', '>=', Carbon::now());
|
||||
return $query->whereIn('status', [self::UPCOMING, self::IN_PROGRESS])->where('scheduled_at', '>=', Carbon::now());
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user