fixed typo when using ActiveSupport::Inflector.transliterate

pull/1186/head
Philipp Tessenow 12 years ago
parent 27c538db92
commit cd461b8517
  1. 2
      app/helpers/issues_helper.rb

@ -252,7 +252,7 @@ module IssuesHelper
def entries_for_filter_select_sorted(query)
[["",""]] + query.available_filters.collect{|field| [ field[1][:name] || l(("field_"+field[0].to_s.gsub(/_id$/, "")).to_sym), field[0]] unless query.has_filter?(field[0])}.compact.sort_by do |el|
ActiveSupport::Inflector.transliterate.transliterate(el[0]).downcase
ActiveSupport::Inflector.transliterate(el[0]).downcase
end
end
end

Loading…
Cancel
Save