summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-03-24 18:43:05 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-03-24 18:43:05 +0000
commit5d72122039311884d29ef4b68c62ea7231b57bdc (patch)
tree8163c0f023a7592de0f547c7d91cb6d6be03302c
parentc17ff5f02490f47bf1f0c3f05c25e73ac8409cef (diff)
downloadredmine-5d72122039311884d29ef4b68c62ea7231b57bdc.tar.gz
redmine-5d72122039311884d29ef4b68c62ea7231b57bdc.zip
Fixes sort parameter in reminder email links (#7963).
Contributed by Beat Jörg. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5215 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/models/mailer.rb2
1 files changed, 1 insertions, 1 deletions
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