Skip to content

Commit

Permalink
[#52147] repair sort helper specs
Browse files Browse the repository at this point in the history
  • Loading branch information
EinLama committed Oct 14, 2024
1 parent e2550a5 commit 673f46b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/helpers/sort_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ def sort_link(column, caption, default_order, allowed_params: nil, **html_option
caption ||= column.to_s.humanize

sort_options = sort_by_options(column, nil, default_order, allowed_params:, **html_options)
html_options.delete(:param) # remove the `param` as we do not want it on our link-tag
link_to_content_update(h(caption), sort_options, html_options.merge(rel: :nofollow))
end

Expand Down

0 comments on commit 673f46b

Please sign in to comment.