Merge pull request #3186 from valentinschabschneider/main
feat: order scheduled task executions
This commit is contained in:
commit
1a232b9b10
1 changed files with 1 additions and 1 deletions
|
|
@ -26,6 +26,6 @@ public function latest_log(): HasOne
|
|||
|
||||
public function executions(): HasMany
|
||||
{
|
||||
return $this->hasMany(ScheduledTaskExecution::class);
|
||||
return $this->hasMany(ScheduledTaskExecution::class)->orderBy('created_at', 'desc');
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue