Trigger EVENT_MOVE_COLUMN event when moving task to another swimlane
Fixes #4581
This commit is contained in:
committed by
Frédéric Guillot
parent
77a32cb1b5
commit
d3948e89a9
@@ -287,6 +287,15 @@ class TaskPositionModel extends Base
|
||||
$changes,
|
||||
$changes
|
||||
);
|
||||
|
||||
if ($task['column_id'] != $new_column_id) {
|
||||
$this->taskEventJob->execute(
|
||||
$task['id'],
|
||||
array(TaskModel::EVENT_MOVE_COLUMN),
|
||||
$changes,
|
||||
$changes
|
||||
);
|
||||
}
|
||||
} elseif ($task['column_id'] != $new_column_id) {
|
||||
$this->taskEventJob->execute(
|
||||
$task['id'],
|
||||
|
||||
Reference in New Issue
Block a user