From 86d230137ff24bbd88ed0693ce14ff217fe99d4a Mon Sep 17 00:00:00 2001 From: liumengyi Date: Thu, 2 Nov 2023 10:26:12 +0800 Subject: [PATCH] * Set productID and branch for 1.5 level drop menu in bug::batchEdit. --- module/bug/zen.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/bug/zen.php b/module/bug/zen.php index 251f8c30b4..73ec140f63 100644 --- a/module/bug/zen.php +++ b/module/bug/zen.php @@ -1555,7 +1555,6 @@ class bugZen extends bug /* Set menu and get product id list. */ if($this->app->tab == 'product') $this->product->setMenu($productID); - if($productID) { $this->qa->setMenu($productID, $branch); @@ -1591,6 +1590,8 @@ class bugZen extends bug /* Assign product related variables. */ $branchTagOption = $this->assignProductRelatedVars($bugs, $products); + $this->view->productID = $productID; + $this->view->branch = $branch; /* Assign users. */ $this->assignUsersForBatchEdit($bugs, $productIdList, $branchTagOption);