summaryrefslogtreecommitdiffstats
path: root/app/helpers/sort_helper.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-11-04 11:15:04 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-11-04 11:15:04 +0000
commitd4e47d5d649844aa2d29b79334946cf4765c8482 (patch)
tree68c4ff1afe6390ef876ae427c319c441ea1eceb9 /app/helpers/sort_helper.rb
parent11cf016c58e9e6e741e8306639940cfdef104564 (diff)
downloadredmine-d4e47d5d649844aa2d29b79334946cf4765c8482.tar.gz
redmine-d4e47d5d649844aa2d29b79334946cf4765c8482.zip
Added radio buttons on the documents list to sort documents by category, date, title or author.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@879 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/sort_helper.rb')
-rw-r--r--app/helpers/sort_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/sort_helper.rb b/app/helpers/sort_helper.rb
index e1e87cbbb..dfd681fff 100644
--- a/app/helpers/sort_helper.rb
+++ b/app/helpers/sort_helper.rb
@@ -138,7 +138,7 @@ module SortHelper
#
def sort_header_tag(column, options = {})
caption = options.delete(:caption) || titleize(Inflector::humanize(column))
- options[:title]= l(:label_sort_by, caption) unless options[:title]
+ options[:title]= l(:label_sort_by, "\"#{caption}\"") unless options[:title]
content_tag('th', sort_link(column, caption), options)
end