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 'app/controllers/groups_controller.rb')
-rw-r--r--app/controllers/groups_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/groups_controller.rb b/app/controllers/groups_controller.rb
index 4f0d1f88e58..a714f2cc7b0 100644
--- a/app/controllers/groups_controller.rb
+++ b/app/controllers/groups_controller.rb
@@ -77,6 +77,7 @@ class GroupsController < Groups::ApplicationController
render json: GroupChildSerializer
.new(current_user: current_user)
.with_pagination(request, response)
+ .hierarchy_base(parent, open_hierarchy: filter[:filter].present)
.represent(@children)
end
end