* fix a bug : workload not include done task.

This commit is contained in:
zhujinyong
2012-07-02 16:04:12 +00:00
parent 1b1680fda6
commit 7c3d4243a1
+1 -1
View File
@@ -343,7 +343,7 @@ EOT;
->leftJoin(TABLE_PROJECT)->alias('t2')
->on('t1.project = t2.id')
->where('t1.deleted')->eq(0)
->andWhere('t1.status')->notin('cancel, closed')
->andWhere('t1.status')->notin('cancel, closed, done')
->fetchGroup('assignedTo');
$bugs = $this->dao->select('t1.*, t2.name as productName')
->from(TABLE_BUG)->alias('t1')