Modified: trunk/app/views/content/_index.rhtml (3489 => 3490)
--- trunk/app/views/content/_index.rhtml 2013-03-27 09:43:48 UTC (rev 3489)
+++ trunk/app/views/content/_index.rhtml 2013-03-28 10:13:34 UTC (rev 3490)
@@ -57,7 +57,7 @@
Sort by:
<select = this.options[this.selectedIndex].value;">
<% @pivot[:pivot_options]["order"].each do |args| %>
- <option value="<%= url_for(request.query_parameters.merge("order" => args["option"])) -%>"
+ <option value="<%= url_with_params(request.path, request.query_parameters.merge({:order => args["option"]})) -%>"
<% if params[:order] == args["option"] -%> selected="selected"<% end -%>><%= args["label"] -%></option>
<% end %>
</select>