From 57e31b1daf183e3f961d9ea02ff3542e36388273 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Mon, 28 Aug 2017 11:29:18 +0800 Subject: [PATCH] * fix bug for testreport. --- module/build/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/build/model.php b/module/build/model.php index c61c3cb791..7215c274c8 100644 --- a/module/build/model.php +++ b/module/build/model.php @@ -66,7 +66,7 @@ class buildModel extends model ->where('t1.project')->eq((int)$projectID) ->andWhere('t1.deleted')->eq(0) ->orderBy('t1.date DESC, t1.id desc') - ->fetchAll(); + ->fetchAll('id'); } /**