* Add toTask field to datatable.

This commit is contained in:
chenfeiCF
2020-08-21 07:18:54 +00:00
parent 83993c233e
commit 586f34b10f
3 changed files with 15 additions and 2 deletions
+7
View File
@@ -2603,6 +2603,13 @@ class bugModel extends model
echo common::hasPriv('task', 'view') ? html::a(helper::createLink('task', 'view', "taskID=$task->id", 'html', true), $task->name, '', "class='iframe'") : $task->name;
}
break;
case 'toTask':
if(isset($tasks[$bug->toTask]))
{
$task = $tasks[$bug->toTask];
echo common::hasPriv('task', 'view') ? html::a(helper::createLink('task', 'view', "taskID=$task->id", 'html', true), $task->name, '', "class='iframe'") : $task->name;
}
break;
case 'type':
echo zget($this->lang->bug->typeList, $bug->type);
break;