myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [3490] trunk/app/views/content/_index.rhtml: Fixe


From: noreply
Subject: [myexperiment-hackers] [3490] trunk/app/views/content/_index.rhtml: Fixed sort-by not working when viewing a groups or users workflows
Date: Thu, 28 Mar 2013 10:13:35 +0000 (UTC)

Revision
3490
Author
fbacall
Date
2013-03-28 10:13:34 +0000 (Thu, 28 Mar 2013)

Log Message

Fixed sort-by not working when viewing a groups or users workflows

Modified Paths

Diff

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>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]