From: Jean-Philippe Lang Date: Sun, 28 Sep 2008 08:41:17 +0000 (+0000) Subject: Fixed: Status list on bulk edit form does not follow normal sequence (#1956). X-Git-Tag: 0.8.0-RC1~184 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=85711f1d5484ae9708dc4e92fdaf4eb499da8ede;p=redmine.git Fixed: Status list on bulk edit form does not follow normal sequence (#1956). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1913 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/controllers/issues_controller.rb b/app/controllers/issues_controller.rb index 04f78092b..156933d5d 100644 --- a/app/controllers/issues_controller.rb +++ b/app/controllers/issues_controller.rb @@ -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