summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-06-20 19:24:58 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-06-20 19:24:58 +0000
commit7ed2c481d898ea20db0cec3e9474bf7e43abda21 (patch)
tree0e274f8f3a28a9d8e4cb48030bf076bd9a8a3089 /app
parent26e75568cf490a9802825eea2a40fa32f21d4458 (diff)
downloadredmine-7ed2c481d898ea20db0cec3e9474bf7e43abda21.tar.gz
redmine-7ed2c481d898ea20db0cec3e9474bf7e43abda21.zip
Reversed order of priorities on the issue summary page (#11205).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9879 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r--app/controllers/reports_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/reports_controller.rb b/app/controllers/reports_controller.rb
index 65f01978d..c9e9a39fa 100644
--- a/app/controllers/reports_controller.rb
+++ b/app/controllers/reports_controller.rb
@@ -22,7 +22,7 @@ class ReportsController < ApplicationController
def issue_report
@trackers = @project.trackers
@versions = @project.shared_versions.sort
- @priorities = IssuePriority.all
+ @priorities = IssuePriority.all.reverse
@categories = @project.issue_categories
@assignees = (Setting.issue_group_assignment? ? @project.principals : @project.users).sort
@authors = @project.users.sort
@@ -53,7 +53,7 @@ class ReportsController < ApplicationController
@report_title = l(:field_version)
when "priority"
@field = "priority_id"
- @rows = IssuePriority.all
+ @rows = IssuePriority.all.reverse
@data = Issue.by_priority(@project)
@report_title = l(:field_priority)
when "category"