app/admin/c80_estate/sevents.rb in c80_estate-0.1.0.12 vs app/admin/c80_estate/sevents.rb in c80_estate-0.1.0.13

- old
+ new

@@ -9,11 +9,11 @@ :property_id, :astatus_id, :auser_id, :auser_type - config.sort_order = 'id_asc' + config.sort_order = 'created_at_desc' filter :property_id, :as => :select, :collection => -> { C80Estate::Property.all.map { |p| ["#{p.title}", p.id] } }, :input_html => {:class => 'selectpicker', 'data-size' => "10", 'data-width' => '100%'} @@ -39,10 +39,10 @@ # scope "Busy", :busy_areas index do selectable_column column :area do |sevent| - sevent.area_title + link_to sevent.area_title, "/admin/areas/#{sevent.area.id}", target: '_blank' end column :astatus do |sevent| sevent.astatus_title end column :atype do |sevent| \ No newline at end of file