* Hide bug plan in waterfall project.

This commit is contained in:
sunguangming
2022-09-29 16:05:03 +08:00
parent b2dd00458a
commit 4f58d80d64
8 changed files with 59 additions and 15 deletions
+1
View File
@@ -1169,6 +1169,7 @@ class bug extends control
$this->view->productName = $this->products[$productID];
$this->view->plans = $this->loadModel('productplan')->getPairs($productID, $bug->branch, '', true);
$this->view->projects = array(0 => '') + $this->product->getProjectPairsByProduct($productID, $bug->branch, $bug->project);
$this->view->project = $this->loadModel('project')->getByID($bug->project);
$this->view->moduleOptionMenu = $moduleOptionMenu;
$this->view->currentModuleID = $currentModuleID;
$this->view->executions = array(0 => '') + $this->product->getExecutionPairsByProduct($bug->product, $bug->branch, 'id_desc', $bug->project);