* adjust for mergeFeatureBar.

This commit is contained in:
wangyidong
2016-06-07 15:58:33 +08:00
parent c1c114ebff
commit 15bb4129ac
9 changed files with 23 additions and 28 deletions
-1
View File
@@ -116,7 +116,6 @@ class bug extends control
$actionURL = $this->createLink('bug', 'browse', "productID=$productID&branch=$branch&browseType=bySearch&queryID=myQueryID");
$this->config->bug->search['onMenuBar'] = 'yes';
$this->bug->buildSearchForm($productID, $this->products, $queryID, $actionURL);
$this->loadModel('search')->mergeFeatureBar('bug', 'browse');
$showModule = !empty($this->config->datatable->bugBrowse->showModule) ? $this->config->datatable->bugBrowse->showModule : '';
$this->view->modulePairs = $showModule ? $this->tree->getModulePairs($productID, 'bug', $showModule) : array();