Copy subtask assignee when duplicating a subtask

Closes #4469
This commit is contained in:
Franky Van Liedekerke
2020-04-26 20:29:26 +02:00
committed by GitHub
parent 027f875ac6
commit 791c4abd57
2 changed files with 3 additions and 3 deletions

View File

@@ -281,7 +281,7 @@ class SubtaskModel extends Base
return $this->db->transaction(function (Database $db) use ($srcTaskId, $dstTaskId) {
$subtasks = $db->table(SubtaskModel::TABLE)
->columns('title', 'time_estimated', 'position')
->columns('title', 'time_estimated', 'position','user_id')
->eq('task_id', $srcTaskId)
->asc('position')
->findAll();