* adjust for get testtask list.

This commit is contained in:
王怡栋
2022-03-01 13:58:00 +08:00
parent e83555ffd3
commit 38ed825461
2 changed files with 4 additions and 1 deletions
+2
View File
@@ -109,6 +109,8 @@ class testtask extends control
$sort = common::appendOrder($orderBy);
/* Get tasks. */
$product = $this->product->getById($productID);
if($product->type == 'normal') $branch = 'all';
$tasks = $this->testtask->getProductTasks($productID, $branch, $sort, $pager, $scopeAndStatus, $beginTime, $endTime);
$this->view->title = $this->products[$productID] . $this->lang->colon . $this->lang->testtask->common;