From f84b1c8dea114bbbe6d3dd433fd362df5170f94e Mon Sep 17 00:00:00 2001 From: daitingting Date: Wed, 5 Feb 2025 09:19:27 +0000 Subject: [PATCH] * [feedback#8383,done,1h] Adjust task sorting. --- 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 a5eb3cb71a..bbc2dfd6dd 100755 --- a/module/execution/model.php +++ b/module/execution/model.php @@ -1946,7 +1946,7 @@ class executionModel extends model ->where('t1.deleted')->eq(0) ->beginIF($filterStatus)->andWhere('t1.status')->notin('closed,cancel')->fi() ->andWhere('t1.execution')->in($executionIdList) - ->orderBy('t1.order_asc') + ->orderBy('t1.order_asc, t1.id_desc') ->fetchGroup('execution', 'id'); $today = helper::today();