lib/netzke/basepack/columns.rb in netzke-basepack-0.11.2 vs lib/netzke/basepack/columns.rb in netzke-basepack-0.12.0.beta

- old
+ new

@@ -140,9 +140,11 @@ def attributes_for_search columns_taken_over_to_forms.map do |c| {name: c.name, text: c.text, attr_type: c.attr_type}.tap do |a| if c[:assoc] a[:text].sub!(" ", " ") + a[:assoc] = true + a[:attr_type] = :string end end end end