Ability to sort the issue list by text, list, date and boolean custom fields (#1139).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2257 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2009-01-11 16:33:51 +00:00
parent 1ca69f2af1
commit 3a28848ca0
4 changed files with 52 additions and 1 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ class QueryCustomFieldColumn < QueryColumn
def initialize(custom_field)
self.name = "cf_#{custom_field.id}".to_sym
self.sortable = false
self.sortable = custom_field.order_statement || false
@cf = custom_field
end