]> source.dussan.org Git - redmine.git/commitdiff
Fixed: Status list on bulk edit form does not follow normal sequence (#1956).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 28 Sep 2008 08:41:17 +0000 (08:41 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 28 Sep 2008 08:41:17 +0000 (08:41 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1913 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/issues_controller.rb

index 04f78092bb284c6d979ecce51ec2e1c653365ae5..156933d5db585939bd4a182901d55d2ba9814c8d 100644 (file)
@@ -253,7 +253,7 @@ class IssuesController < ApplicationController
     end
     # Find potential statuses the user could be allowed to switch issues to
     @available_statuses = Workflow.find(:all, :include => :new_status,
-                                              :conditions => {:role_id => current_role.id}).collect(&:new_status).compact.uniq
+                                              :conditions => {:role_id => current_role.id}).collect(&:new_status).compact.uniq.sort
   end
 
   def move