summaryrefslogtreecommitdiffstats
path: root/app/models/mailer.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-12-24 10:03:13 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-12-24 10:03:13 +0000
commit5c97a83a705f9dd7b7e8dd4470a2bc12fa5b22c1 (patch)
treedf9ac134224e4c43cdec2bd33d8801885c5d242b /app/models/mailer.rb
parent7776b5b6659ee213c031fd1ed3f73d503af6541e (diff)
downloadredmine-5c97a83a705f9dd7b7e8dd4470a2bc12fa5b22c1.tar.gz
redmine-5c97a83a705f9dd7b7e8dd4470a2bc12fa5b22c1.zip
Validates sort_key and sort_order params (#2378).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2171 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/mailer.rb')
-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 d9207cd92..dd4b5be87 100644
--- a/app/models/mailer.rb
+++ b/app/models/mailer.rb
@@ -58,7 +58,7 @@ class Mailer < ActionMailer::Base
subject l(:mail_subject_reminder, issues.size)
body :issues => issues,
:days => days,
- :issues_url => url_for(:controller => 'issues', :action => 'index', :set_filter => 1, :assigned_to_id => user.id, :sort_key => 'issues.due_date', :sort_order => 'asc')
+ :issues_url => url_for(:controller => 'issues', :action => 'index', :set_filter => 1, :assigned_to_id => user.id, :sort_key => 'due_date', :sort_order => 'asc')
end
def document_added(document)