* Modify the overview of the project, only one product is counted.

This commit is contained in:
qiyu-xie
2020-12-14 16:35:48 +08:00
parent ff67859fd0
commit db55458c15
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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');