* Finish task #116686.

This commit is contained in:
sunguangming
2024-04-22 10:21:19 +08:00
parent fb6a2335ec
commit 540da8a879
+4
View File
@@ -1147,6 +1147,8 @@ class bugZen extends bug
$stories = $this->story->getProductStoryPairs($productID, $branch, $moduleID, 'active,closed', 'id_desc', 0, 'full', 'story', false);
}
$stories = $this->story->addGradeLabel($stories);
return $this->updateBug($bug, array('stories' => $stories));
}
@@ -1339,6 +1341,8 @@ class bugZen extends bug
$stories = $this->story->getProductStoryPairs($bug->product, $bug->branch, 0, 'active,closed', 'id_desc', 0, 'full', 'story', false);
}
$stories = $this->story->addGradeLabel($stories);
$this->view->openedBuilds = $openedBuilds;
$this->view->resolvedBuilds = $this->build->getBuildPairs(array($bug->product), $bug->branch, 'noempty');
$this->view->plans = $this->loadModel('productplan')->getPairs($bug->product, $bug->branch, '', true);