* finish task #971.

This commit is contained in:
wangyidong
2012-12-13 06:34:30 +00:00
parent 7b06b0811a
commit 78e6472bb7
9 changed files with 54 additions and 8 deletions
+3 -1
View File
@@ -917,7 +917,9 @@ class bug extends control
}
/* Get bugs. */
$bugs = $this->dao->select('*')->from(TABLE_BUG)->where($this->session->bugQueryCondition)->orderBy($orderBy)->fetchAll('id');
$bugs = $this->dao->select('*')->from(TABLE_BUG)->where($this->session->bugQueryCondition)
->beginIF($this->post->exportType == 'selected')->andWhere('id')->in($this->cookie->checkedItem)->fi()
->orderBy($orderBy)->fetchAll('id');
/* Get users, products and projects. */
$users = $this->loadModel('user')->getPairs('noletter');