]> source.dussan.org Git - redmine.git/commitdiff
Fixed: User list not sorted on category form (#6760).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 7 Nov 2010 14:56:12 +0000 (14:56 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 7 Nov 2010 14:56:12 +0000 (14:56 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4385 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/issue_categories/_form.rhtml

index dc62c200055cb320ccb367622f74336436e9fab2..232808800b0f982751f0df5bab5bf66bda134717 100644 (file)
@@ -2,5 +2,5 @@
 
 <div class="box">
 <p><%= f.text_field :name, :size => 30, :required => true %></p>
-<p><%= f.select :assigned_to_id, @project.users.collect{|u| [u.name, u.id]}, :include_blank => true %></p>
+<p><%= f.select :assigned_to_id, @project.users.sort.collect{|u| [u.name, u.id]}, :include_blank => true %></p>
 </div>