diff --git a/module/bug/tao.php b/module/bug/tao.php index b0e5ad3d00..fea2f0fd6a 100644 --- a/module/bug/tao.php +++ b/module/bug/tao.php @@ -51,6 +51,7 @@ class bugTao extends bugModel $bugIdListAssignedByMe = array(); if($browseType == 'assignedbyme') $bugIdListAssignedByMe = $this->dao->select('objectID')->from(TABLE_ACTION)->where('objectType')->eq('bug')->andWhere('action')->eq('assigned')->andWhere('actor')->eq($this->app->user->account)->fetchPairs(); + $executionIdList[] = '0'; $bugList = $this->dao->select("*, IF(`pri` = 0, {$this->config->maxPriValue}, `pri`) AS priOrder, IF(`severity` = 0, {$this->config->maxPriValue}, `severity`) AS severityOrder")->from(TABLE_BUG) ->where('deleted')->eq('0') ->andWhere('product')->in($productIdList)