module BudgetInvestmentsHelper
  def budget_investments_sorting_options
    Budget::Investment::SORTING_OPTIONS.map { |so| [t("admin.budget_investments.index.sort_by.#{so}"), so] }
  end

  def budget_investments_advanced_filters(params)
    params.map { |af| t("admin.budget_investments.index.filters.#{af}") }.join(', ')
  end
end

module BudgetInvestmentsHelper
  def budget_investments_sorting_options
    Budget::Investment::SORTING_OPTIONS.map do |so|
      [t("admin.budget_investments.index.sort_by.#{so}"), so]
    end
  end

  def budget_investments_advanced_filters(params)
    params.map { |af| t("admin.budget_investments.index.filters.#{af}") }.join(', ')
  end
end

Fix line length at budget investments helper
Fix line length at budget investments helper
