* Set productID and branch for 1.5 level drop menu in bug::batchEdit.

This commit is contained in:
liumengyi
2023-11-02 10:26:12 +08:00
parent 5a150c8e13
commit 86d230137f
+2 -1
View File
@@ -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);