-
- Downloads
Merge branch '21567-fix-sorting-issues-by-last-updated-after-import-from-github' into 'master'
Fix sorting issues by "last updated" after import from GitHub ## What does this MR do? Don't touch Issue/Merge Request when importing GitHub comments as it will trigger an update on `updated_at` field. It also use `updated_at` as the last updated date doesn't matter the Issue/Pull Request state. ## Why was this MR needed? After import from GitHub, sorting issues by "last updated" doesn't work as expected. ## What are the relevant issue numbers? Fixes #21567 See merge request !6110
No related branches found
No related tags found
Showing
- CHANGELOG 1 addition, 0 deletionsCHANGELOG
- lib/gitlab/github_import/importer.rb 8 additions, 6 deletionslib/gitlab/github_import/importer.rb
- lib/gitlab/github_import/issue_formatter.rb 1 addition, 5 deletionslib/gitlab/github_import/issue_formatter.rb
- lib/gitlab/github_import/milestone_formatter.rb 6 additions, 30 deletionslib/gitlab/github_import/milestone_formatter.rb
- lib/gitlab/github_import/pull_request_formatter.rb 1 addition, 10 deletionslib/gitlab/github_import/pull_request_formatter.rb
- spec/lib/gitlab/github_import/issue_formatter_spec.rb 2 additions, 3 deletionsspec/lib/gitlab/github_import/issue_formatter_spec.rb
- spec/lib/gitlab/github_import/milestone_formatter_spec.rb 2 additions, 3 deletionsspec/lib/gitlab/github_import/milestone_formatter_spec.rb
- spec/lib/gitlab/github_import/pull_request_formatter_spec.rb 3 additions, 4 deletionsspec/lib/gitlab/github_import/pull_request_formatter_spec.rb
Please register or sign in to comment