OSDN Git Service

Sort versions drop down on the bulk edit form.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 18 Dec 2010 14:14:04 +0000 (14:14 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 18 Dec 2010 14:14:04 +0000 (14:14 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4533 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/issues/bulk_edit.rhtml

index 7091e35..b26e47c 100644 (file)
@@ -43,7 +43,7 @@
        <label><%= l(:field_fixed_version) %></label> 
        <%= select_tag('issue[fixed_version_id]', content_tag('option', l(:label_no_change_option), :value => '') +
                                    content_tag('option', l(:label_none), :value => 'none') +
-                                   version_options_for_select(@project.shared_versions.open)) %>
+                                   version_options_for_select(@project.shared_versions.open.sort)) %>
 </p>
 <% end %>