Commit 2289cab1 authored by Matthias Käppler's avatar Matthias Käppler

Merge branch '321635-preload-no-mutation' into 'master'

Concatenate association to be preloaded

See merge request gitlab-org/gitlab!54437
parents 4c5cbad5 6549a892
......@@ -11,7 +11,7 @@ module EE
when 'MergeRequest'
super + [approval_rules: [:users, :group_users], approval_project_rules: [:users, :group_users]]
when 'Issue'
super.push(*issue_preloads)
super + issue_preloads
else
super
end
......
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