From 910fb0f35fa262dd0888d0d84eabdcdcec64b890 Mon Sep 17 00:00:00 2001 From: xieqiyu Date: Mon, 6 Nov 2023 01:25:18 +0000 Subject: [PATCH] * Modify tree browse in bug and case. --- module/tree/control.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/module/tree/control.php b/module/tree/control.php index 3d2c2a76d2..54f5cb3706 100644 --- a/module/tree/control.php +++ b/module/tree/control.php @@ -137,6 +137,8 @@ class tree extends control $title = $this->lang->tree->manageBug; $position[] = html::a($this->createLink('bug', 'browse', "product=$rootID"), $product->name); $position[] = $this->lang->tree->manageBug; + + $this->view->productID = $rootID; } elseif($viewType == 'feedback' or $viewType == 'ticket') { @@ -161,6 +163,8 @@ class tree extends control $title = $this->lang->tree->manageCase; $position[] = html::a($this->createLink('testcase', 'browse', "product=$rootID"), $product->name); $position[] = $this->lang->tree->manageCase; + + $this->view->productID = $rootID; } elseif($viewType == 'caselib') {