summaryrefslogtreecommitdiffstats
path: root/app/models/query.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-07-24 18:41:04 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-07-24 18:41:04 +0000
commit3209c4c5e48fd12239a3f5b71384ee5e09d93f61 (patch)
treee2353fe047fcde141f9fa7f1a989750c0c777346 /app/models/query.rb
parent8fa787719ab4cf2905afe52f7b41bcfed518e176 (diff)
downloadredmine-3209c4c5e48fd12239a3f5b71384ee5e09d93f61.tar.gz
redmine-3209c4c5e48fd12239a3f5b71384ee5e09d93f61.zip
Sort versions ascending when grouping issues by version (#11153).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10076 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/query.rb')
-rw-r--r--app/models/query.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/query.rb b/app/models/query.rb
index 5df78929c..8c5f0b090 100644
--- a/app/models/query.rb
+++ b/app/models/query.rb
@@ -141,7 +141,7 @@ class Query < ActiveRecord::Base
QueryColumn.new(:assigned_to, :sortable => lambda {User.fields_for_order_statement}, :groupable => true),
QueryColumn.new(:updated_on, :sortable => "#{Issue.table_name}.updated_on", :default_order => 'desc'),
QueryColumn.new(:category, :sortable => "#{IssueCategory.table_name}.name", :groupable => true),
- QueryColumn.new(:fixed_version, :sortable => lambda {Version.fields_for_order_statement}, :default_order => 'desc', :groupable => true),
+ QueryColumn.new(:fixed_version, :sortable => lambda {Version.fields_for_order_statement}, :groupable => true),
QueryColumn.new(:start_date, :sortable => "#{Issue.table_name}.start_date"),
QueryColumn.new(:due_date, :sortable => "#{Issue.table_name}.due_date"),
QueryColumn.new(:estimated_hours, :sortable => "#{Issue.table_name}.estimated_hours"),