* Finish task #93623.
This commit is contained in:
@@ -19,7 +19,7 @@ $config->todo->editor->edit = array('id' => 'desc', 'tools' => 'simpleTools');
|
||||
$config->todo->editor->view = array('id' => 'comment,lastComment', 'tools' => 'simpleTools');
|
||||
|
||||
$config->todo->list = new stdclass();
|
||||
$config->todo->list->exportFields = 'id, account, date, begin, end, type, idvalue, pri, name, desc, status, private';
|
||||
$config->todo->list->exportFields = 'id, account, date, begin, end, type, assignedTo, idvalue, pri, name, desc, status, private';
|
||||
$config->todo->list->customBatchCreateFields = 'type,pri,desc,beginAndEnd';
|
||||
$config->todo->list->customBatchEditFields = 'pri,beginAndEnd,status';
|
||||
|
||||
|
||||
@@ -615,6 +615,8 @@ class todo extends control
|
||||
$todo->begin = $todo->begin == '2400' ? '' : (isset($times[$todo->begin]) ? $times[$todo->begin] : $todo->begin);
|
||||
$todo->end = $todo->end == '2400' ? '' : (isset($times[$todo->end]) ? $times[$todo->end] : $todo->end);
|
||||
|
||||
$todo->assignedTo = zget($users, $todo->assignedTo);
|
||||
|
||||
$type = $todo->type;
|
||||
if(isset($users[$todo->account])) $todo->account = $users[$todo->account];
|
||||
if($type == 'bug') $todo->name = isset($bugs[$todo->idvalue]) ? $bugs[$todo->idvalue] . "(#$todo->idvalue)" : '';
|
||||
|
||||
Reference in New Issue
Block a user