mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-22 16:31:12 +00:00
fix source indent of QueriesHelper
git-svn-id: http://svn.redmine.org/redmine/trunk@20054 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
e768465783
commit
8c53f2e5a8
@ -192,13 +192,14 @@ module QueriesHelper
|
|||||||
sort_param = {param_key => query.sort_criteria.add(column.name, order).to_param}
|
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 =~ /^(.+)\[(.+)\]$/
|
sort_param = {$1 => {$2 => sort_param.values.first}} while sort_param.keys.first.to_s =~ /^(.+)\[(.+)\]$/
|
||||||
link_options = {
|
link_options = {
|
||||||
:title => l(:label_sort_by, "\"#{column.caption}\""),
|
:title => l(:label_sort_by, "\"#{column.caption}\""),
|
||||||
:class => css
|
:class => css
|
||||||
}
|
}
|
||||||
if options[:sort_link_options]
|
if options[:sort_link_options]
|
||||||
link_options.merge! options[:sort_link_options]
|
link_options.merge! options[:sort_link_options]
|
||||||
end
|
end
|
||||||
content = link_to(
|
content =
|
||||||
|
link_to(
|
||||||
column.caption,
|
column.caption,
|
||||||
{:params => request.query_parameters.deep_merge(sort_param)},
|
{:params => request.query_parameters.deep_merge(sort_param)},
|
||||||
link_options
|
link_options
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user