From 9d56f24ba1aaa5cfea314ab1b39afd0361e77e25 Mon Sep 17 00:00:00 2001 From: tanghucheng Date: Wed, 15 Nov 2023 03:33:19 -0500 Subject: [PATCH] * Fix bug #40620. --- module/execution/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/execution/model.php b/module/execution/model.php index e90fd60458..ed5cf069e1 100755 --- a/module/execution/model.php +++ b/module/execution/model.php @@ -2592,7 +2592,7 @@ class executionModel extends model ->where('deleted')->eq(0) ->andWhere('status')->notin('closed,cancel') ->andWhere('execution')->in($executionIdList) - ->orderBy('id_asc') + ->orderBy('order_asc') ->fetchGroup('execution', 'id'); $taskIdList = array();