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:
authorYorick Peterse <yorickpeterse@gmail.com>2018-02-15 21:55:43 +0300
committerYorick Peterse <yorickpeterse@gmail.com>2018-02-22 20:55:36 +0300
commit090eeb581b3809ab83d52f7baa2bcfbd63b1c2ba (patch)
tree83241b53bdd4ea705611e60ab1ab39f5079ec8c9 /app/finders
parent41bfe82b7a650f21b19a25204dde5a0eaf960d0f (diff)
Added changelog for user search improvements
Diffstat (limited to 'app/finders')
-rw-r--r--app/finders/autocomplete_users_finder.rb2
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