From 22230645ddaf316fb9f833d5fa270b3aa1e653ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=99=E5=B9=BF=E6=98=8E?= Date: Fri, 22 Jul 2022 13:07:49 +0800 Subject: [PATCH] * Fix bug #25627. --- module/story/config.php | 2 +- module/story/control.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/module/story/config.php b/module/story/config.php index ef3c7299d5..5d79a91faf 100644 --- a/module/story/config.php +++ b/module/story/config.php @@ -32,7 +32,7 @@ $config->story->editor->assignto = array('id' => 'comment', 'tools' => 'simpleTo $config->story->list = new stdclass(); $config->story->list->exportFields = ' id, product, branch, module, plan, source, sourceNote, title, spec, verify, keywords, - pri, estimate, status, stage, taskCountAB, bugCountAB, caseCountAB, + pri, estimate, status, stage, category, taskCountAB, bugCountAB, caseCountAB, openedBy, openedDate, assignedTo, assignedDate, mailto, reviewedBy, reviewedDate, closedBy, closedDate, closedReason, diff --git a/module/story/control.php b/module/story/control.php index 2168c87aca..8252aaace1 100644 --- a/module/story/control.php +++ b/module/story/control.php @@ -2597,7 +2597,7 @@ class story extends control if(isset($storyLang->stageList[$story->stage])) $story->stage = $storyLang->stageList[$story->stage]; if(isset($storyLang->reasonList[$story->closedReason])) $story->closedReason = $storyLang->reasonList[$story->closedReason]; if(isset($storyLang->sourceList[$story->source])) $story->source = $storyLang->sourceList[$story->source]; - if(isset($storyLang->sourceList[$story->sourceNote])) $story->sourceNote = $storyLang->sourceList[$story->sourceNote]; + if(isset($storyLang->categoryList[$story->category])) $story->category = $storyLang->categoryList[$story->category]; if(isset($users[$story->openedBy])) $story->openedBy = $users[$story->openedBy]; if(isset($users[$story->assignedTo])) $story->assignedTo = $users[$story->assignedTo] . "(#$story->assignedTo)";