diff options
author | Yorick Peterse <yorickpeterse@gmail.com> | 2018-02-15 21:55:43 +0300 |
---|---|---|
committer | Yorick Peterse <yorickpeterse@gmail.com> | 2018-02-22 20:55:36 +0300 |
commit | 090eeb581b3809ab83d52f7baa2bcfbd63b1c2ba (patch) | |
tree | 83241b53bdd4ea705611e60ab1ab39f5079ec8c9 /app/finders | |
parent | 41bfe82b7a650f21b19a25204dde5a0eaf960d0f (diff) |
Added changelog for user search improvements
Diffstat (limited to 'app/finders')
-rw-r--r-- | app/finders/autocomplete_users_finder.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/finders/autocomplete_users_finder.rb b/app/finders/autocomplete_users_finder.rb index 49eb6af8f11..e8a03947f59 100644 --- a/app/finders/autocomplete_users_finder.rb +++ b/app/finders/autocomplete_users_finder.rb @@ -58,7 +58,7 @@ class AutocompleteUsersFinder def users_from_project if author_id.present? union = Gitlab::SQL::Union - .new([project.team.users, User.where(id: author_id)]) + .new([project.authorized_users, User.where(id: author_id)]) User.from("(#{union.to_sql}) #{User.table_name}") else |