diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-06-24 15:43:34 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-06-24 15:43:34 -0400 |
commit | 18cb7ad0a4a96be63030f5207b74a195c8b6cd6c (patch) | |
tree | 719898528a9df56f6d8ea4abaee54b9542e3d434 /app/Model/TaskModificationModel.php | |
parent | b2e92480c29acb15586bc8ea305c8416927a667c (diff) |
Expose tags to the user interface (first prototype)
Diffstat (limited to 'app/Model/TaskModificationModel.php')
-rw-r--r-- | app/Model/TaskModificationModel.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/Model/TaskModificationModel.php b/app/Model/TaskModificationModel.php index 762af2c5..0fc3617e 100644 --- a/app/Model/TaskModificationModel.php +++ b/app/Model/TaskModificationModel.php @@ -85,6 +85,11 @@ class TaskModificationModel extends Base */ public function prepare(array &$values) { + if (isset($values['tags'])) { + $this->taskTagModel->save($values['project_id'], $values['id'], $values['tags']); + unset($values['tags']); + } + $values = $this->dateParser->convert($values, array('date_due')); $values = $this->dateParser->convert($values, array('date_started'), true); |