summaryrefslogtreecommitdiff
path: root/app/Model/TaskPositionModel.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2018-06-05 10:07:40 -0700
committerFrédéric Guillot <fred@kanboard.net>2018-06-05 10:07:40 -0700
commit653128cdb45a43d8f44c5dc5d53ab0caf53dea84 (patch)
tree8d753d6349a05f33ba41f9b7ffe22d2f19b6ad2b /app/Model/TaskPositionModel.php
parent1bed8e1fbb738ee86e84b42ca47b7521ffae5ba9 (diff)
Make sure task timestamps are updated when using bulk move feature
Diffstat (limited to 'app/Model/TaskPositionModel.php')
-rw-r--r--app/Model/TaskPositionModel.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/Model/TaskPositionModel.php b/app/Model/TaskPositionModel.php
index 6c109f3d..755fc2d5 100644
--- a/app/Model/TaskPositionModel.php
+++ b/app/Model/TaskPositionModel.php
@@ -36,7 +36,9 @@ class TaskPositionModel extends Base
->update([
'swimlane_id' => $swimlane_id,
'column_id' => $column_id,
- 'position' => $position
+ 'position' => $position,
+ 'date_moved' => time(),
+ 'date_modification' => time(),
]);
$this->db->closeTransaction();