Redmine/app/helpers/queries_helper.rb

7 lines
161 B
Ruby
Raw Normal View History

module QueriesHelper
def operators_for_select(filter_type)
Query.operators_by_filter_type[filter_type].collect {|o| [l(Query.operators[o]), o]}
end
end