diff options
author | Frédéric Guillot <fred@kanboard.net> | 2018-06-05 10:07:40 -0700 |
---|---|---|
committer | Frédéric Guillot <fred@kanboard.net> | 2018-06-05 10:07:40 -0700 |
commit | 653128cdb45a43d8f44c5dc5d53ab0caf53dea84 (patch) | |
tree | 8d753d6349a05f33ba41f9b7ffe22d2f19b6ad2b /app/Model/TaskPositionModel.php | |
parent | 1bed8e1fbb738ee86e84b42ca47b7521ffae5ba9 (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.php | 4 |
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(); |