From 85711f1d5484ae9708dc4e92fdaf4eb499da8ede Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 28 Sep 2008 08:41:17 +0000 Subject: [PATCH] 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 --- app/controllers/issues_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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