diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-08-03 12:12:13 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-08-03 12:12:13 +0300 |
commit | dda49284fcd29d631c2b7642a6430fdfa5793f48 (patch) | |
tree | 44f806e110bec9928d13c3333020cd99c040c1df /app/finders | |
parent | 564b17514e0897517b10d708ef961151cf9e6199 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/finders')
-rw-r--r-- | app/finders/groups/user_groups_finder.rb | 2 |
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 |