* Finish task #7932. Fix bug #3422.

This commit is contained in:
holan20180123
2020-09-23 13:27:08 +08:00
parent 103a6d6011
commit d85d370800
8 changed files with 56 additions and 3 deletions
+5
View File
@@ -134,6 +134,11 @@ class bug extends control
/* Get bugs. */
$bugs = $this->bug->getBugs($productID, $projects, $branch, $browseType, $moduleID, $queryID, $sort, $pager);
if(empty($bugs) and $pageID > 1)
{
$pager = pager::init(0, $recPerPage, 1);
$bugs = $this->bug->getBugs($productID, $projects, $branch, $browseType, $moduleID, $queryID, $sort, $pager);
}
/* Process the sql, get the conditon partion, save it to session. */
$this->loadModel('common')->saveQueryCondition($this->dao->get(), 'bug', $browseType == 'needconfirm' ? false : true);