From da721facfeb3653150e3ef7c8b26dae0d1e13827 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 fbda2180..987d7c31 100644 --- a/app/models/mailer.rb +++ b/app/models/mailer.rb @@ -88,7 +88,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