diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 6bc8f9f6..c02f7e5a 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -5515,7 +5515,7 @@ challengeProgramNames=(CHALLENGEPROGRAMNAMES)" end end - def sort_tag(content, **opts) + def sort_tag(content, opts) options = {} options[:sort_by] = opts.delete(:name) is_current_sort = params[:sort_by].to_s == options[:sort_by]