+ add the feature of confirm story changed bugs.

This commit is contained in:
wangchunsheng
2010-03-30 03:45:21 +00:00
parent 39d41a3103
commit f3222d547b
6 changed files with 45 additions and 5 deletions
+1 -1
View File
@@ -123,7 +123,7 @@ class taskModel extends model
->leftJoin(TABLE_USER)->alias('t3')
->on('t1.owner = t3.account')
->where('t1.project')->eq((int)$projectID)
->onCaseOf($status == 'needConfirm')->andWhere('t2.version > t1.storyVersion')->andWhere('t2.status = "active"')->endCase()
->onCaseOf($status == 'needConfirm')->andWhere('t2.version > t1.storyVersion')->andWhere("t2.status = 'active'")->endCase()
->onCaseOf($status != 'all' and $status != 'needConfirm')->andWhere('t1.status')->in($status)->endCase()
->orderBy($orderBy)
->page($pager)