From 4bd35dae8da525c7a283020897eaa0d8608c1d1c Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 16 Mar 2008 15:04:33 +0000 Subject: [PATCH] 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 --- app/models/query.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"), -- 2.39.5