From 653128cdb45a43d8f44c5dc5d53ab0caf53dea84 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Tue, 5 Jun 2018 10:07:40 -0700 Subject: Make sure task timestamps are updated when using bulk move feature --- app/Model/TaskPositionModel.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'app/Model/TaskPositionModel.php') 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(); -- cgit v1.2.3