OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
fix indent
Ivan Kuchincefdfb68a5fb
diff --git a/app/models/activities/fetcher.rb b/app/models/activities/fetcher.rbindex 8eddb163198..4d19848ff7a 100644--- a/app/models/activities/fetcher.rb+++ b/app/models/activities/fetcher.rb@@ -130,10 +130,10 @@ module Activitiesjournal_ids = events.map(&:event_id)Journal- .includes(:data, :customizable_journals, :attachable_journals, :bcf_comment)- .find(journal_ids)- .then { |journals| ::API::V3::Activities::ActivityEagerLoadingWrapper.wrap(journals) }- .index_by(&:id)+ .includes(:data, :customizable_journals, :attachable_journals, :bcf_comment)+ .find(journal_ids)+ .then { |journals| ::API::V3::Activities::ActivityEagerLoadingWrapper.wrap(journals) }+ .index_by(&:id)enddef sort_by_most_recent_first(events)