summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-03-16 15:04:33 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-03-16 15:04:33 +0000
commit4bd35dae8da525c7a283020897eaa0d8608c1d1c (patch)
tree5ada5e2efbcc830bddf84ab256f088b5a128b621
parent2d01398d67dd43b594445a7fca31243585b22172 (diff)
downloadredmine-4bd35dae8da525c7a283020897eaa0d8608c1d1c.tar.gz
redmine-4bd35dae8da525c7a283020897eaa0d8608c1d1c.zip
Allow issue list to be sorted by target version (#832).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1264 e93f8b46-1217-0410-a6f0-8f06a7374b81
-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 665280ac2..2b708ddda 100644
--- a/app/models/query.rb
+++ b/app/models/query.rb
@@ -101,7 +101,7 @@ class Query < ActiveRecord::Base
QueryColumn.new(:assigned_to, :sortable => "#{User.table_name}.lastname"),
QueryColumn.new(:updated_on, :sortable => "#{Issue.table_name}.updated_on", :default_order => 'desc'),
QueryColumn.new(:category, :sortable => "#{IssueCategory.table_name}.name"),
- QueryColumn.new(:fixed_version),
+ QueryColumn.new(:fixed_version, :sortable => "#{Version.table_name}.effective_date", :default_order => 'desc'),
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"),