From 8ee699c8bfb4f2a8cf2c8f0b6aef7c2e120f5069 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 3 Sep 2016 21:48:36 -0400 Subject: Force order of exported tasks --- app/Export/TaskExport.php | 1 + 1 file changed, 1 insertion(+) (limited to 'app/Export') 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(); } -- cgit v1.2.3