diff options
Diffstat (limited to 'app/Model/SubTask.php')
-rw-r--r-- | app/Model/SubTask.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Model/SubTask.php b/app/Model/SubTask.php index 12558429..adc5aa73 100644 --- a/app/Model/SubTask.php +++ b/app/Model/SubTask.php @@ -227,6 +227,7 @@ class SubTask extends Base $subtasks = $db->table(SubTask::TABLE) ->columns('title', 'time_estimated') ->eq('task_id', $src_task_id) + ->asc('id') // Explicit sorting for postgresql ->findAll(); foreach ($subtasks as &$subtask) { |