* Fix bug#43348.

This commit is contained in:
xieqiyu
2024-01-05 13:21:07 +08:00
parent 7d7935b39a
commit 21d5ed7d70
+2 -2
View File
@@ -652,7 +652,7 @@ class storyZen extends story
$users = $this->user->getPairs('pdfirst|noclosed|nodeleted');
$stories = $this->story->getParentStoryPairs($productID);
$storyTypes = strpos($product->vision, 'or') !== false ? 'launched' : 'changing,active,reviewing';
$storyTypes = strpos($product->vision, 'or') !== false ? 'launched' : 'active';
$URS = $storyType != 'story' ? array() : $this->story->getProductStoryPairs($productID, $branch, 0, $storyTypes, 'id_desc', 0, '', 'requirement');
/* 追加字段的label属性。 */
@@ -991,7 +991,7 @@ class storyZen extends story
if($storyType == 'story')
{
$moduleIdList = $this->tree->getAllChildId($this->view->moduleID);
$URS = $this->story->getProductStoryPairs($productID, $branch, $moduleIdList, 'changing,active,reviewing', 'id_desc', 0, '', 'requirement');
$URS = $this->story->getProductStoryPairs($productID, $branch, $moduleIdList, 'active', 'id_desc', 0, '', 'requirement');
}
$fields['URS']['options'] = $URS;