This commit is contained in:
holan20180123
2021-03-15 09:04:37 +08:00
parent 39a273978c
commit f684e1f50a
2 changed files with 12 additions and 4 deletions
+2 -3
View File
@@ -184,9 +184,7 @@ class bug extends control
$this->config->bug->search['onMenuBar'] = 'yes';
$this->bug->buildSearchForm($productID, $this->products, $queryID, $actionURL);
$showModule = !empty($this->config->datatable->bugBrowse->showModule) ? $this->config->datatable->bugBrowse->showModule : '';
$this->view->modulePairs = $showModule ? $this->tree->getModulePairs($productID, 'bug', $showModule) : array();
$showModule = !empty($this->config->datatable->bugBrowse->showModule) ? $this->config->datatable->bugBrowse->showModule : '';
$productName = $productID ? $this->products[$productID] : $this->lang->product->allProduct;
/* Set view. */
@@ -218,6 +216,7 @@ class bug extends control
$this->view->tasks = $taskList;
$this->view->setModule = true;
$this->view->isProjectBug = ($productID and !$this->projectID) ? false : true;
$this->view->modulePairs = $showModule ? $this->tree->getModulePairs($productID, 'bug', $showModule) : array();
$this->display();
}