Also preload the project status

pull/9782/head
Oliver Günther 3 years ago
parent e05f434be5
commit 490f0a3834
No known key found for this signature in database
GPG Key ID: A3A8BDAD7C0C552C
  1. 2
      app/models/projects/exports/query_exporter.rb

@ -46,7 +46,7 @@ module Projects::Exports
.results
.with_required_storage
.with_latest_activity
.includes(:custom_values)
.includes(:custom_values, :status)
.page(page)
.per_page(Setting.work_packages_export_limit.to_i)
end

Loading…
Cancel
Save