Skip to content

Commit

Permalink
Keep the tags when converting a subtask to task
Browse files Browse the repository at this point in the history
  • Loading branch information
TimoStahl committed Nov 4, 2020
1 parent 8a8d433 commit 37ab8bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/Model/SubtaskTaskConversionModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ public function convertToTask($project_id, $subtask_id)

if ($task_id !== false) {
$this->taskLinkModel->create($task_id, $subtask['task_id'], 6);
$this->tagDuplicationModel->duplicateTaskTags($parent_task['id'], $task_id);
$this->subtaskModel->remove($subtask_id);
}

Expand Down

0 comments on commit 37ab8bf

Please sign in to comment.