* Finish task #7932. Fix bug #3422.

This commit is contained in:
holan20180123
2020-09-23 13:55:32 +08:00
parent ab6ea6f7e0
commit 4b1c0ced7b
8 changed files with 56 additions and 3 deletions

View File

@@ -64,6 +64,12 @@ class testreport extends control
$pager = pager::init($recTotal, $recPerPage, $pageID);
$reports = $this->testreport->getList($objectID, $objectType, $extra, $orderBy, $pager);
if(empty($reports) and $pageID > 1)
{
$pager = pager::init(0, $recPerPage, 1);
$reports = $this->testreport->getList($objectID, $objectType, $extra, $orderBy, $pager);
}
if($objectType == 'project' and isset($_POST['taskIdList']))
{
$taskIdList = $_POST['taskIdList'];