Commit a8f5ba66 authored by Gabriel Mazetto's avatar Gabriel Mazetto

Merge branch 'sh-export-csv-service-nplus-one' into 'master'

Fix N+1 queries loading milestones when exporting CSVs

See merge request gitlab-org/gitlab!49429
parents 0fd4eec6 dc0e455f
......@@ -34,7 +34,7 @@ module Issues
private
def associations_to_preload
%i(author assignees timelogs)
%i(author assignees timelogs milestone)
end
def header_to_value_hash
......
---
title: Fix N+1 queries loading milestones when exporting CSVs
merge_request: 49429
author:
type: performance
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment