* Finish task #3207.

This commit is contained in:
pengjiangxiu
2017-09-12 10:42:56 +08:00
parent 60f3998e09
commit 74c5559c7b
2 changed files with 5 additions and 4 deletions
+4 -4
View File
@@ -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';
+1
View File
@@ -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];