@@ -120,6 +120,9 module SortHelper | |||
|
120 | 120 | # don't reuse params if filters are present |
|
121 | 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 | 126 | link_to_remote(caption, |
|
124 | 127 | {:update => "content", :url => url_options, :method => :get}, |
|
125 | 128 | {:href => url_for(url_options)}) + |
General Comments 0
You need to be logged in to leave comments.
Login now