Skip to content
代码片段 群组 项目
提交 df541e51 编辑于 作者: Ahmad Sherif's avatar Ahmad Sherif
浏览文件

Load project invited groups and members eagerly in ProjectTeam#fetch_members

上级 033e5423
No related branches found
No related tags found
无相关合并请求
......@@ -4,6 +4,7 @@ v 8.11.0 (unreleased)
- Fix of 'Commits being passed to custom hooks are already reachable when using the UI'
- Limit git rev-list output count to one in forced push check
- Retrieve rendered HTML from cache in one request
- Load project invited groups and members eagerly in ProjectTeam#fetch_members
v 8.10.0
- Fix profile activity heatmap to show correct day name (eanplatter)
......
......@@ -173,7 +173,7 @@ def fetch_members(level = nil)
invited_members = []
if project.invited_groups.any? && project.allowed_to_share_with_group?
project.project_group_links.each do |group_link|
project.project_group_links.includes(group: [:group_members]).each do |group_link|
invited_group = group_link.group
im = invited_group.members
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册