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
+4
View File
@@ -30,6 +30,10 @@ class CustomValue < ActiveRecord::Base
self.value == '1'
end
def to_s
value.to_s
end
protected
def validate
if value.blank?