From 21d5ed7d703c08408b8a8da3a7c7dfca059a1625 Mon Sep 17 00:00:00 2001 From: xieqiyu Date: Fri, 5 Jan 2024 13:20:42 +0800 Subject: [PATCH] * Fix bug#43348. --- module/story/zen.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/story/zen.php b/module/story/zen.php index 7d83c65c38..57b066a56d 100644 --- a/module/story/zen.php +++ b/module/story/zen.php @@ -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;