1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-03-14 13:08:14 +00:00
redmine/time/app/helpers/queries_helper.rb
Jean-Philippe Lang b23cb49756 created branch for time tracking
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@330 e93f8b46-1217-0410-a6f0-8f06a7374b81
2007-03-11 18:11:40 +00:00

7 lines
161 B
Ruby

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