summaryrefslogtreecommitdiff
path: root/lib/api
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api')
-rw-r--r--lib/api/groups.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/api/groups.rb b/lib/api/groups.rb
index bcf2e6dae1d..7e9a5502949 100644
--- a/lib/api/groups.rb
+++ b/lib/api/groups.rb
@@ -172,6 +172,7 @@ module API
get ":id/projects" do
group = find_group!(params[:id])
projects = GroupProjectsFinder.new(group: group, current_user: current_user, params: project_finder_params).execute
+ projects = projects.preload(:fork_network, :forked_project_link, :project_feature, :project_group_links, :tags, :taggings, :group, :namespace)
projects = reorder_projects(projects)
entity = params[:simple] ? Entities::BasicProjectDetails : Entities::Project
present paginate(projects), with: entity, current_user: current_user