summaryrefslogtreecommitdiff
path: root/app/views/groups/_new_member.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/groups/_new_member.html.haml')
-rw-r--r--app/views/groups/_new_member.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/groups/_new_member.html.haml b/app/views/groups/_new_member.html.haml
index f48c2c23d83..89ac05e774e 100644
--- a/app/views/groups/_new_member.html.haml
+++ b/app/views/groups/_new_member.html.haml
@@ -5,7 +5,7 @@
%h6 1. Choose people you want in the team
.clearfix
= f.label :user_ids, "People"
- .input= select_tag(:user_ids, options_from_collection_for_select(User.not_in_project(@project).all, :id, :name), {data: {placeholder: "Select users"}, class: "chosen xxlarge", multiple: true})
+ .input= select_tag(:user_ids, options_from_collection_for_select(User.not_in_project(@project).alphabetically, :id, :name), {data: {placeholder: "Select users"}, class: "chosen xxlarge", multiple: true})
%h6 2. Set access level for them
.clearfix