diff --git a/trunk/module/bug/control.php b/trunk/module/bug/control.php index e8753aff3f..63747eb13a 100644 --- a/trunk/module/bug/control.php +++ b/trunk/module/bug/control.php @@ -136,10 +136,13 @@ class bug extends control ->orderBy($orderBy)->page($pager)->fetchAll(); } - /* 处理查询语句,获取条件部分,并记录session。*/ - $sql = explode('WHERE', $this->dao->get()); - $sql = explode('ORDER', $sql[1]); - $this->session->set('bugReportCondition', $sql[0]); + /* 处理查询语句,获取条件部分,并记录session。需求待确认的,不参与报表统计。*/ + if($browseType != 'needconfirm') + { + $sql = explode('WHERE', $this->dao->get()); + $sql = explode('ORDER', $sql[1]); + $this->session->set('bugReportCondition', $sql[0]); + } $users = $this->user->getPairs('noletter'); diff --git a/trunk/module/bug/view/report.html.php b/trunk/module/bug/view/report.html.php index 52ffc65809..2ae72a4031 100644 --- a/trunk/module/bug/view/report.html.php +++ b/trunk/module/bug/view/report.html.php @@ -33,7 +33,7 @@ span {display:block} -
+
bug->report->select;?>