From 74c5559c7b932adf61e771d55a9882842f0ff22a Mon Sep 17 00:00:00 2001 From: pengjiangxiu Date: Tue, 12 Sep 2017 10:42:56 +0800 Subject: [PATCH] * Finish task #3207. --- module/story/config.php | 8 ++++---- module/story/control.php | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/module/story/config.php b/module/story/config.php index 73191c706d..115e3a0cf6 100644 --- a/module/story/config.php +++ b/module/story/config.php @@ -29,12 +29,12 @@ $config->story->editor->activate = array('id' => 'comment', 'tools' => 'simpleTo $config->story->list = new stdclass(); $config->story->list->exportFields = ' - id, product, branch, module, plan, source, title, spec, verify, keywords, + id, product, branch, module, plan, source, sourceNote, title, spec, verify, keywords, pri, estimate, status, stage, taskCountAB, bugCountAB, caseCountAB, - openedBy, openedDate, assignedTo, assignedDate, mailto, - reviewedBy, reviewedDate, + openedBy, openedDate, assignedTo, assignedDate, mailto, + reviewedBy, reviewedDate, closedBy, closedDate, closedReason, - lastEditedBy, lastEditedDate, + lastEditedBy, lastEditedDate, childStories, linkStories, duplicateStory, files'; $config->story->list->customCreateFields = 'source,verify,pri,estimate,mailto,keywords'; diff --git a/module/story/control.php b/module/story/control.php index 5263c5713c..793c8f5726 100644 --- a/module/story/control.php +++ b/module/story/control.php @@ -1436,6 +1436,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($users[$story->openedBy])) $story->openedBy = $users[$story->openedBy]; if(isset($users[$story->assignedTo])) $story->assignedTo = $users[$story->assignedTo];