Sort the list of users to add to a group or project (#4150).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3004 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2009-11-04 11:17:55 +00:00
parent 962535255c
commit b2a55bda0c
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ module ApplicationHelper
def principals_check_box_tags(name, principals)
s = ''
principals.each do |principal|
principals.sort.each do |principal|
s << "<label>#{ check_box_tag name, principal.id, false } #{h principal}</label>\n"
end
s