summaryrefslogtreecommitdiffstats
path: root/app/controllers/reports_controller.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-01-31 19:53:24 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-01-31 19:53:24 +0000
commitfe22797d69273cc68b5d070416223e9c5f52f396 (patch)
treeae81cb18985a8693dbee64800756921212b037e2 /app/controllers/reports_controller.rb
parentd29ba0b80fac3600b3bde5adc20b4df5c2a9bb37 (diff)
downloadredmine-fe22797d69273cc68b5d070416223e9c5f52f396.tar.gz
redmine-fe22797d69273cc68b5d070416223e9c5f52f396.zip
added the ability to set the sort order for issue statuses
git-svn-id: http://redmine.rubyforge.org/svn/trunk@205 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/reports_controller.rb')
-rw-r--r--app/controllers/reports_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/reports_controller.rb b/app/controllers/reports_controller.rb
index b27eb19ac..2e2f0fc8e 100644
--- a/app/controllers/reports_controller.rb
+++ b/app/controllers/reports_controller.rb
@@ -20,7 +20,7 @@ class ReportsController < ApplicationController
before_filter :find_project, :authorize
def issue_report
- @statuses = IssueStatus.find :all
+ @statuses = IssueStatus.find(:all, :order => 'position')
case params[:detail]
when "tracker"