Project

General

Profile

« Previous | Next » 

Revision 996

Fixed: can not save numeric, date and boolean custom fields (broken by r994).

View differences:

trunk/app/models/custom_field.rb
45 45
    self.possible_values = self.possible_values.collect{|v| v unless v.empty?}.compact
46 46
    # make sure these fields are not searchable
47 47
    self.searchable = false if %w(int float date bool).include?(field_format)
48
    true
48 49
  end
49 50
  
50 51
  def validate

Also available in: Unified diff