* Finish task #45081.
This commit is contained in:
@@ -1310,7 +1310,7 @@ class execution extends control
|
||||
->where('t1.id')->eq($plan->product)
|
||||
->fetchAll('id');
|
||||
|
||||
$productPlan = $this->loadModel('productplan')->getPairsForStory($plan->product, $plan->branch, 'skipParent|unexpired');
|
||||
$productPlan = $this->loadModel('productplan')->getPairsForStory($plan->product, $plan->branch, 'skipParent|unexpired|withMainPlan');
|
||||
$linkedBranches = array();
|
||||
$linkedBranches[$plan->product][$plan->branch] = $plan->branch;
|
||||
|
||||
@@ -2494,7 +2494,7 @@ class execution extends control
|
||||
$this->loadModel('branch');
|
||||
foreach($products as $product)
|
||||
{
|
||||
$productModules = $this->tree->getOptionMenu($product->id, 'story', 0, $branches[$product->id]);
|
||||
$productModules = $this->tree->getOptionMenu($product->id, 'story', 0, array_keys($branches[$product->id]));
|
||||
foreach($productModules as $branch => $branchModules)
|
||||
{
|
||||
foreach($branchModules as $moduleID => $moduleName) $modules[$moduleID] = ((count($products) >= 2 and $moduleID != 0) ? $product->name : '') . $moduleName;
|
||||
|
||||
Reference in New Issue
Block a user