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
historic relations: disable eager loading
Sebastian Fiedlschusterc0f59081d72e
diff --git a/app/models/journable/historic_active_record_relation.rb b/app/models/journable/historic_active_record_relation.rbindex 64b6a891bb8..8cc74067d8b 100644--- a/app/models/journable/historic_active_record_relation.rb+++ b/app/models/journable/historic_active_record_relation.rb@@ -106,6 +106,10 @@ class Journable::HistoricActiveRecordRelation < ActiveRecord::Relationoriginal_build_arel(aliases)end+ def eager_loading?+ false+ end+private# Switch the database table, e.g. from `work_packages` to `work_package_journals`.