Merge branch 'sprint/master_zhouxudong_16575' into 'master'

Sprint/master zhouxudong 16575

See merge request easycorp/zentaopms!2453
This commit is contained in:
李玉春
2022-03-22 08:18:36 +00:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1582,7 +1582,7 @@ class execution extends control
$linkedBranchList = array();
$linkedProducts = $this->product->getProducts($executionID);
$branches = $this->project->getBranchesByProject($executionID);
$plans = $this->productplan->getGroupByProduct(array_keys($linkedProducts), 'skipParent');
$plans = $this->productplan->getGroupByProduct(array_keys($linkedProducts), 'skipParent|unexpired');
$executionStories = $this->project->getStoriesByProject($executionID);
/* If the story of the product which linked the execution, you don't allow to remove the product. */