diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-09-21 13:03:06 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2020-09-21 13:03:06 +0000 |
commit | 8c53f2e5a8a04a84dafcd9221509c0788655bc28 (patch) | |
tree | e72f3ee5c2b78ddb5b167be3c59982b2fc4b62d6 /app/helpers | |
parent | e7684657831a8b23ee08caf14e2d5678e7c0f388 (diff) | |
download | redmine-8c53f2e5a8a04a84dafcd9221509c0788655bc28.tar.gz redmine-8c53f2e5a8a04a84dafcd9221509c0788655bc28.zip |
fix source indent of QueriesHelper
git-svn-id: http://svn.redmine.org/redmine/trunk@20054 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/queries_helper.rb | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/app/helpers/queries_helper.rb b/app/helpers/queries_helper.rb index a9d8cff6f..8b5095f54 100644 --- a/app/helpers/queries_helper.rb +++ b/app/helpers/queries_helper.rb @@ -192,13 +192,14 @@ module QueriesHelper sort_param = {param_key => query.sort_criteria.add(column.name, order).to_param} sort_param = {$1 => {$2 => sort_param.values.first}} while sort_param.keys.first.to_s =~ /^(.+)\[(.+)\]$/ link_options = { - :title => l(:label_sort_by, "\"#{column.caption}\""), - :class => css - } + :title => l(:label_sort_by, "\"#{column.caption}\""), + :class => css + } if options[:sort_link_options] link_options.merge! options[:sort_link_options] end - content = link_to( + content = + link_to( column.caption, {:params => request.query_parameters.deep_merge(sort_param)}, link_options |