-
- Downloads
Return last edited time instead of update time
For issuable models we keep two timestamps: updated_at which is updated whenever any model attribute is changed, last_edited_at which is changed when only title or description is changed. In UI bellow description we display who and when updated the item. But last_edited_by (used for 'who') is mistakenly combined with updated_at (when), last_edited_at should be used instead. Closes #41247
Showing
- app/controllers/concerns/issuable_actions.rb 1 addition, 1 deletionapp/controllers/concerns/issuable_actions.rb
- app/helpers/issuables_helper.rb 1 addition, 1 deletionapp/helpers/issuables_helper.rb
- changelogs/unreleased/41247-timestamp.yml 6 additions, 0 deletionschangelogs/unreleased/41247-timestamp.yml
- spec/controllers/projects/issues_controller_spec.rb 47 additions, 19 deletionsspec/controllers/projects/issues_controller_spec.rb
- spec/helpers/issuables_helper_spec.rb 3 additions, 3 deletionsspec/helpers/issuables_helper_spec.rb
changelogs/unreleased/41247-timestamp.yml
0 → 100644
Please register or sign in to comment