From 01d58609fdfe6967ef13fb99fb50ddd951179a76 Mon Sep 17 00:00:00 2001 From: "chencongzhi520@gmail.com" Date: Wed, 19 Dec 2012 01:05:15 +0000 Subject: [PATCH] * fix bug: testcase can't batch edit. --- module/testcase/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/testcase/control.php b/module/testcase/control.php index 58fefee9cb..b57530a75f 100644 --- a/module/testcase/control.php +++ b/module/testcase/control.php @@ -422,7 +422,7 @@ class testcase extends control $showSuhosinInfo = false; /* Get all cases. */ - $allCases = $this->dao->select('*')->from(TABLE_CASE)->alias('t1')->where($this->session->testcaseQueryCondition)->orderBy($orderBy)->fetchAll('id'); + $allCases = $this->dao->select('*')->from(TABLE_CASE)->where('id')->in($caseIDList)->orderBy($orderBy)->fetchAll('id'); /* Set product menu. */ $this->testcase->setMenu($this->products, $productID);