* fix bug: testcase can't batch edit.

This commit is contained in:
chencongzhi520@gmail.com
2012-12-19 01:05:15 +00:00
parent cc409aaff9
commit 01d58609fd

View File

@@ -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);