* Finish task #61441.

This commit is contained in:
zhouxudong
2022-07-20 02:30:19 +00:00
parent 1e14279144
commit 178ea59c4e
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -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];