lib/cm_admin/models/column.rb in cm-admin-1.3.0 vs lib/cm_admin/models/column.rb in cm-admin-1.3.1
- old
+ new
@@ -41,9 +41,10 @@
self.exportable = true
self.managable = true
self.lockable = false
self.viewable = true
self.tag_class = {}
+ self.field_type = :string
end
class << self
def find_by(model, action_name, search_hash)
model.available_fields[action_name].find { |column| column.field_name == search_hash[:name] }