* fix the error of report when browsetype = needconfirm.
* adjust the UI.
This commit is contained in:
@@ -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');
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ span {display:block}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class='yui-d0 yui-t7'>
|
||||
<div class='yui-d0 yui-t1'>
|
||||
<div class='yui-b'>
|
||||
<div class='box-title'><?php echo $lang->bug->report->select;?></div>
|
||||
<div class='box-content'>
|
||||
|
||||
Reference in New Issue
Block a user