]> source.dussan.org Git - sonarqube.git/commitdiff
Sort transitions on bulk change form
authorJulien Lancelot <julien.lancelot@gmail.com>
Tue, 16 Jul 2013 08:43:21 +0000 (10:43 +0200)
committerJulien Lancelot <julien.lancelot@gmail.com>
Tue, 16 Jul 2013 08:43:32 +0000 (10:43 +0200)
sonar-server/src/main/webapp/WEB-INF/app/views/issues/_bulk_change_form.html.erb

index 646d692c1aabf231510ab3c54321da49cab9116f..e2d8c70546f990a356972e55d0223f677b2fd8c6 100644 (file)
@@ -80,7 +80,7 @@
         <label>
           <%= message('issue.transition') -%>
         </label>
-        <% transitions_by_issues.keys.each do |transition| %>
+        <% transitions_by_issues.keys.sort.each do |transition| %>
           <input type="radio" id="transition-<%= transition -%>" name="do_transition.transition" value="<%= transition -%>"
                  onClick="addTransitionAction();">&nbsp;<%= message("issue.transition.#{transition}") -%>
           <span style="float:right;">(<%= message('issue_bulk_change.x_issues', :params => transitions_by_issues[transition].to_s) %>)</span><br/>