diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-12-24 10:03:13 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-12-24 10:03:13 +0000 |
commit | 5c97a83a705f9dd7b7e8dd4470a2bc12fa5b22c1 (patch) | |
tree | df9ac134224e4c43cdec2bd33d8801885c5d242b /app/views/timelog | |
parent | 7776b5b6659ee213c031fd1ed3f73d503af6541e (diff) | |
download | redmine-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/views/timelog')
-rw-r--r-- | app/views/timelog/_list.rhtml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/timelog/_list.rhtml b/app/views/timelog/_list.rhtml index 8aebd75de..1144d42cc 100644 --- a/app/views/timelog/_list.rhtml +++ b/app/views/timelog/_list.rhtml @@ -2,10 +2,10 @@ <thead> <tr> <%= sort_header_tag('spent_on', :caption => l(:label_date), :default_order => 'desc') %> -<%= sort_header_tag('user_id', :caption => l(:label_member)) %> -<%= sort_header_tag('activity_id', :caption => l(:label_activity)) %> -<%= sort_header_tag("#{Project.table_name}.name", :caption => l(:label_project)) %> -<%= sort_header_tag('issue_id', :caption => l(:label_issue), :default_order => 'desc') %> +<%= sort_header_tag('user', :caption => l(:label_member)) %> +<%= sort_header_tag('activity', :caption => l(:label_activity)) %> +<%= sort_header_tag('project', :caption => l(:label_project)) %> +<%= sort_header_tag('issue', :caption => l(:label_issue), :default_order => 'desc') %> <th><%= l(:field_comments) %></th> <%= sort_header_tag('hours', :caption => l(:field_hours)) %> <th></th> |