app/admin/c80_estate/sevents.rb in c80_estate-0.1.0.2 vs app/admin/c80_estate/sevents.rb in c80_estate-0.1.0.3

- old
+ new

@@ -17,10 +17,12 @@ # :as => :select, # :collection => -> { C80Estate::Property.all.map { |p| ["#{p.title}", p.id] } }, # :input_html => {:class => 'selectpicker', 'data-size' => "10", 'data-width' => '100%'} filter :area_id, :as => :select, - :collection => -> { C80Estate::Area.all.map { |p| ["#{p.title}", p.id] } }, + :collection => -> { C80Estate::Area.all.map { |a| + ["#{a.property.title}: #{a.title}", a.id] + } }, :input_html => {:class => 'selectpicker', 'data-size' => "10", 'data-width' => '100%'} # filter :atype_id, # :as => :select, # :collection => -> { C80Estate::Atype.all.map { |p| ["#{p.title}", p.id] } }, # :input_html => {:class => 'selectpicker', 'data-size' => "10", 'data-width' => '100%'} \ No newline at end of file