From 5d72122039311884d29ef4b68c62ea7231b57bdc Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Thu, 24 Mar 2011 18:43:05 +0000 Subject: [PATCH] Fixes sort parameter in reminder email links (#7963). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Contributed by Beat Jörg. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5215 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/mailer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/mailer.rb b/app/models/mailer.rb index 69a620bee..3249a6ac2 100644 --- a/app/models/mailer.rb +++ b/app/models/mailer.rb @@ -85,7 +85,7 @@ class Mailer < ActionMailer::Base subject l(:mail_subject_reminder, :count => issues.size, :days => days) body :issues => issues, :days => days, - :issues_url => url_for(:controller => 'issues', :action => 'index', :set_filter => 1, :assigned_to_id => user.id, :sort_key => 'due_date', :sort_order => 'asc') + :issues_url => url_for(:controller => 'issues', :action => 'index', :set_filter => 1, :assigned_to_id => user.id, :sort => 'due_date:asc') render_multipart('reminder', body) end