* added 'all' option to get all items by update modal for 'bug','story' and 'task'.

This commit is contained in:
Catouse
2014-09-27 10:22:54 +08:00
parent 3f09c6f10a
commit 0433f34fb6
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -680,7 +680,7 @@ class bugModel extends model
{
$bugs = $this->dao->select('*')->from(TABLE_BUG)
->where('deleted')->eq(0)
->andWhere("$type")->eq($account)
->beginIF($type != 'all')->andWhere("$type")->eq($account)->fi()
->orderBy($orderBy)
->beginIF($limit > 0)->limit($limit)->fi()
->page($pager)