diff --git a/extension/lite/task/ext/view/batchcreate.lite.html.hook.php b/extension/lite/task/ext/view/batchcreate.lite.html.hook.php new file mode 100644 index 0000000000..44c6f727db --- /dev/null +++ b/extension/lite/task/ext/view/batchcreate.lite.html.hook.php @@ -0,0 +1,6 @@ + diff --git a/extension/lite/task/ext/view/create.lite.html.hook.php b/extension/lite/task/ext/view/create.lite.html.hook.php new file mode 100644 index 0000000000..5b499a0677 --- /dev/null +++ b/extension/lite/task/ext/view/create.lite.html.hook.php @@ -0,0 +1,6 @@ + diff --git a/module/task/model.php b/module/task/model.php index 2a4d661e34..2095d2b8c0 100644 --- a/module/task/model.php +++ b/module/task/model.php @@ -316,6 +316,7 @@ class taskModel extends model $data[$i]->openedBy = $this->app->user->account; $data[$i]->openedDate = $now; $data[$i]->parent = $tasks->parent[$i]; + $data[$i]->vision = isset($tasks->vision[$i]) ? $tasks->vision[$i] : 'common'; if($story) $data[$i]->storyVersion = $this->loadModel('story')->getVersion($data[$i]->story); if($assignedTo) $data[$i]->assignedDate = $now; if(strpos($this->config->task->create->requiredFields, 'estStarted') !== false and empty($estStarted)) $data[$i]->estStarted = '';