##// END OF EJS Templates
Fixes Issue sorting in a project, broken by #2317...
Eric Davis -
r2322:2fc789704439
parent child
Show More
@@ -120,6 +120,9 module SortHelper
120 # don't reuse params if filters are present
120 # don't reuse params if filters are present
121 url_options = params.has_key?(:set_filter) ? sort_options : params.merge(sort_options)
121 url_options = params.has_key?(:set_filter) ? sort_options : params.merge(sort_options)
122
122
123 # Add project_id to url_options
124 url_options = url_options.merge(:project_id => params[:project_id]) if params.has_key?(:project_id)
125
123 link_to_remote(caption,
126 link_to_remote(caption,
124 {:update => "content", :url => url_options, :method => :get},
127 {:update => "content", :url => url_options, :method => :get},
125 {:href => url_for(url_options)}) +
128 {:href => url_for(url_options)}) +
General Comments 0
You need to be logged in to leave comments. Login now