This commit is contained in:
tianshujie
2022-08-10 17:03:20 +08:00
parent 5285fa44fe
commit 756178977f
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -238,6 +238,10 @@ class projectrelease extends control
->page($storyPager)
->fetchAll('id');
$stages = $this->dao->select('*')->from(TABLE_STORYSTAGE)->where('story')->in($release->stories)->andWhere('branch')->eq($release->branch)->fetchPairs('story', 'stage');
foreach($stages as $storyID => $stage) $stories[$storyID]->stage = $stage;
$this->loadModel('common')->saveQueryCondition($this->dao->get(), 'story');
$bugPager = new pager($type == 'bug' ? $recTotal : 0, $recPerPage, $type == 'bug' ? $pageID : 1);