mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/tickme.git
synced 2026-08-24 15:04:46 +00:00
minor fixes
This commit is contained in:
@@ -98,7 +98,7 @@ class Project extends AbstractModel
|
||||
}
|
||||
|
||||
public function tasks(): hasManyThrough {
|
||||
return $this->hasManyThrough(Task::class, ProjectMilestone::class, 'project_id', 'milestone_id');
|
||||
return $this->hasManyThrough(Task::class, ProjectMilestone::class, 'project_id', 'milestone_id')->orderBy('order');
|
||||
}
|
||||
|
||||
protected static function boot() {
|
||||
|
||||
Reference in New Issue
Block a user