diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-03-23 12:41:53 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-03-23 13:22:27 +0100 |
commit | bab50e0133e226c06b7a968c2bfa46717de81485 (patch) | |
tree | 3b96ef986689b8844d05039f86972aec3752ed0b /app | |
parent | 703f7c5d579a6ab6d7592c24f8e3f2813d9d1703 (diff) | |
download | gitlab-ce-bab50e0133e226c06b7a968c2bfa46717de81485.tar.gz |
Preserve time notes has been updated at when moving issue
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 |