Commit f800e8fe authored by Valery Sizov's avatar Valery Sizov

[Multiple issue asignees] solving N + 1 for project/issues controller

parent 5ea87e09
...@@ -40,7 +40,7 @@ module IssuableCollections ...@@ -40,7 +40,7 @@ module IssuableCollections
end end
def issues_collection def issues_collection
issues_finder.execute.preload(:project, :author, :labels, :milestone, project: :namespace) issues_finder.execute.preload(:project, :author, :labels, :milestone, :assignees, project: :namespace)
end end
def merge_requests_collection def merge_requests_collection
......
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