* Modify the overview of the project, only one product is counted.
This commit is contained in:
@@ -735,9 +735,9 @@ class productModel extends model
|
||||
/**
|
||||
* Get the total number of requirements associated with the product.
|
||||
*
|
||||
* @param array $productIdList
|
||||
* @param array $type
|
||||
* @param array $status closed|active|draft
|
||||
* @param array $productIdList
|
||||
* @param string $type
|
||||
* @param string $status closed|active|draft
|
||||
* @access public
|
||||
* @return array
|
||||
*/
|
||||
|
||||
@@ -925,7 +925,7 @@ class programModel extends model
|
||||
|
||||
foreach($projectIdList as $projectID)
|
||||
{
|
||||
$productIdList = $this->loadModel('product')->getProductIDByProject($projectID);
|
||||
$productIdList = $this->loadModel('product')->getProductIDByProject($projectID, false);
|
||||
$allStories[$projectID] = $this->product->getTotalStoriesByProduct($productIdList, 'story');
|
||||
$doneStories[$projectID] = $this->product->getTotalStoriesByProduct($productIdList, 'story', 'closed');
|
||||
$leftStories[$projectID] = $this->product->getTotalStoriesByProduct($productIdList, 'story', 'active');
|
||||
|
||||
Reference in New Issue
Block a user