app/models/effective/effective_datatable/resource.rb in effective_datatables-3.2 vs app/models/effective/effective_datatable/resource.rb in effective_datatables-3.2.1

- old
+ new

@@ -159,10 +159,10 @@ @_collection = @_collection.where(attribute => value) columns.delete(associated) end - columns.each_with_index { |(_, column), index| column[:index] = index } if changed + load_columns! if changed end end end end