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:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-08-03 12:12:13 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-08-03 12:12:13 +0300
commitdda49284fcd29d631c2b7642a6430fdfa5793f48 (patch)
tree44f806e110bec9928d13c3333020cd99c040c1df /app/finders
parent564b17514e0897517b10d708ef961151cf9e6199 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/finders')
-rw-r--r--app/finders/groups/user_groups_finder.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/finders/groups/user_groups_finder.rb b/app/finders/groups/user_groups_finder.rb
index 90367638dcf..c77599530df 100644
--- a/app/finders/groups/user_groups_finder.rb
+++ b/app/finders/groups/user_groups_finder.rb
@@ -41,7 +41,7 @@ module Groups
def by_search(items)
return items if params[:search].blank?
- items.search(params[:search])
+ items.search(params[:search], include_parents: true)
end
def by_permission_scope