Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/entities/group_detail.rb')
-rw-r--r--lib/api/entities/group_detail.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/entities/group_detail.rb b/lib/api/entities/group_detail.rb
index 7b05984421a..f3d64315203 100644
--- a/lib/api/entities/group_detail.rb
+++ b/lib/api/entities/group_detail.rb
@@ -16,7 +16,7 @@ module API
projects = GroupProjectsFinder.new(
group: group,
current_user: options[:current_user],
- options: { only_owned: true, limit: projects_limit }
+ options: { exclude_shared: true, limit: projects_limit }
).execute
Entities::Project.prepare_relation(projects, options)