diff options
author | Douwe Maan <douwe@gitlab.com> | 2016-03-23 16:11:27 +0300 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2016-03-23 16:11:27 +0300 |
commit | 6c4d6dd684b30b1b0ca30249e2c3a43e67ee3143 (patch) | |
tree | fa92369586ff6c67b59422e4bd3681de6d8cdb49 /app | |
parent | 7124e5a44c045dae511c0cac65c936b445c1a5b6 (diff) | |
parent | 85b9d763f17e4f8a24610684b570ae02bf0f7522 (diff) |
Merge branch 'fix/issue-move-preserve-update-time' into 'master'
Preserve time notes has been updated at when moving issue
Closes #14490
See merge request !3356
Diffstat (limited to 'app')
-rw-r--r-- | app/services/issues/move_service.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/services/issues/move_service.rb b/app/services/issues/move_service.rb index 468f8acdf64..a5efb21fab6 100644 --- a/app/services/issues/move_service.rb +++ b/app/services/issues/move_service.rb @@ -54,7 +54,8 @@ module Issues new_note = note.dup new_params = { project: @new_project, noteable: @new_issue, note: unfold_references(new_note.note), - created_at: note.created_at } + created_at: note.created_at, + updated_at: note.updated_at } new_note.update(new_params) end |