app/views/administrate/application/_collection.html.erb in administrate-0.2.2 vs app/views/administrate/application/_collection.html.erb in administrate-0.3.0

- old
+ new

@@ -24,10 +24,10 @@ <% collection_presenter.attribute_types.each do |attr_name, attr_type| %> <th class="cell-label cell-label--<%= attr_type.html_class %> cell-label--<%= collection_presenter.ordered_html_class(attr_name) %> " scope="col"> - <%= link_to(params.merge( + <%= link_to(sanitized_order_params.merge( collection_presenter.order_params_for(attr_name) )) do %> <%= t( "helpers.label.#{resource_name}.#{attr_name}", default: attr_name.to_s,