Commit 2fc78970 authored by Eric Davis's avatar Eric Davis

Fixes Issue sorting in a project, broken by #2317

Issues were sorting but the project id wasn't being added so the
IssuesController would return all issues (cross-project).


git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2324 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 10994e90
......@@ -120,6 +120,9 @@ module SortHelper
# don't reuse params if filters are present
url_options = params.has_key?(:set_filter) ? sort_options : params.merge(sort_options)
# Add project_id to url_options
url_options = url_options.merge(:project_id => params[:project_id]) if params.has_key?(:project_id)
link_to_remote(caption,
{:update => "content", :url => url_options, :method => :get},
{:href => url_for(url_options)}) +
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment