* Display all products of the top program.
This commit is contained in:
@@ -2237,13 +2237,14 @@ class project extends control
|
||||
$branchGroups = $this->loadModel('branch')->getByProducts(array_keys($allProducts), 'ignoreNormal|noclosed');
|
||||
if($this->config->systemMode == 'ALM')
|
||||
{
|
||||
$topProgramID = $this->program->getTopByPath($project->path);
|
||||
$productsGroupByProgram = $this->product->getProductsGroupByProgram();
|
||||
|
||||
$currentProducts = array();
|
||||
$otherProducts = array();
|
||||
foreach($productsGroupByProgram as $programID => $programProducts)
|
||||
{
|
||||
if($programID != $project->parent)
|
||||
if($programID != $topProgramID)
|
||||
{
|
||||
foreach($programProducts as $productID => $productName)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user