* Finish task #61441.
This commit is contained in:
@@ -28,7 +28,7 @@ $config->task->editor->pause = array('id' => 'comment', 'tools' => 'simpleToo
|
||||
|
||||
$config->task->removeFields = 'objectTypeList,productList,executionList,gitlabID,gitlabProjectID,product';
|
||||
$config->task->exportFields = '
|
||||
id, execution, module, story,
|
||||
id, execution, module, fromBug, story,
|
||||
name, desc,
|
||||
type, pri,estStarted, realStarted, deadline, status,estimate, consumed, left,
|
||||
mailto, progress, mode,
|
||||
|
||||
@@ -2203,6 +2203,9 @@ class task extends control
|
||||
/* fill some field with useful value. */
|
||||
$task->story = isset($relatedStories[$task->story]) ? $relatedStories[$task->story] . "(#$task->story)" : '';
|
||||
|
||||
$bug = $this->loadModel('bug')->getByID($task->fromBug);
|
||||
$task->fromBug = empty($task->fromBug) ? '0' : "#$task->fromBug " . $bug->title;
|
||||
|
||||
if(isset($executions[$task->execution])) $task->execution = $executions[$task->execution] . "(#$task->execution)";
|
||||
if(isset($taskLang->typeList[$task->type])) $task->type = $taskLang->typeList[$task->type];
|
||||
if(isset($taskLang->priList[$task->pri])) $task->pri = $taskLang->priList[$task->pri];
|
||||
|
||||
Reference in New Issue
Block a user