diff --git a/module/bug/control.php b/module/bug/control.php index 8c226d887e..2bc1ac2de4 100644 --- a/module/bug/control.php +++ b/module/bug/control.php @@ -151,11 +151,12 @@ class bug extends control * * @param int $productID * @param string $browseType + * @param int $branchID * @param int $moduleID * @access public * @return void */ - public function report($productID, $browseType, $moduleID) + public function report($productID, $browseType, $branchID, $moduleID) { $this->loadModel('report'); $this->view->charts = array(); @@ -174,7 +175,7 @@ class bug extends control } } - $this->bug->setMenu($this->products, $productID); + $this->bug->setMenu($this->products, $productID, $branchID); $this->view->title = $this->products[$productID] . $this->lang->colon . $this->lang->bug->common . $this->lang->colon . $this->lang->bug->reportChart; $this->view->position[] = html::a($this->createLink('bug', 'browse', "productID=$productID"), $this->products[$productID]); $this->view->position[] = $this->lang->bug->reportChart; diff --git a/module/bug/view/browse.html.php b/module/bug/view/browse.html.php index 1510075847..6faf616336 100644 --- a/module/bug/view/browse.html.php +++ b/module/bug/view/browse.html.php @@ -58,7 +58,7 @@ js::set('bugBrowseType', ($browseType == 'bymodule' and $this->session->bugBrows
- +
diff --git a/module/product/view/browse.html.php b/module/product/view/browse.html.php index 77c806c409..6b2ac1d2e5 100644 --- a/module/product/view/browse.html.php +++ b/module/product/view/browse.html.php @@ -53,7 +53,7 @@ ?>
- +
loadModel('report'); $this->view->charts = array(); @@ -1264,7 +1265,7 @@ class story extends control } } $this->products = $this->product->getPairs(); - $this->product->setMenu($this->products, $productID); + $this->product->setMenu($this->products, $productID, $branchID); $this->view->title = $this->products[$productID] . $this->lang->colon . $this->lang->story->reportChart; $this->view->position[] = $this->products[$productID];