diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-09-03 21:48:36 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-09-03 21:48:36 -0400 |
commit | 8ee699c8bfb4f2a8cf2c8f0b6aef7c2e120f5069 (patch) | |
tree | e225741b88154194401291a51122c69190aaa118 /app/Export | |
parent | daa076eea7185a3b67dbfed7b34e42f3049026df (diff) |
Force order of exported tasks
Diffstat (limited to 'app/Export')
-rw-r--r-- | app/Export/TaskExport.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Export/TaskExport.php b/app/Export/TaskExport.php index e708f0e3..9ca5f798 100644 --- a/app/Export/TaskExport.php +++ b/app/Export/TaskExport.php @@ -95,6 +95,7 @@ class TaskExport extends Base ->gte(TaskModel::TABLE . '.date_creation', $from) ->lte(TaskModel::TABLE . '.date_creation', $to) ->eq(TaskModel::TABLE . '.project_id', $project_id) + ->asc(TaskModel::TABLE.'.id') ->findAll(); } |