Numeric operators for custom fields in query filters (#6180).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6213 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
e63f0c615c
commit
0bd5e22c81
|
@ -664,6 +664,8 @@ class Query < ActiveRecord::Base
|
|||
options = { :type => :date, :order => 20 }
|
||||
when "bool"
|
||||
options = { :type => :list, :values => [[l(:general_text_yes), "1"], [l(:general_text_no), "0"]], :order => 20 }
|
||||
when "int", "float"
|
||||
options = { :type => :integer, :order => 20 }
|
||||
when "user", "version"
|
||||
next unless project
|
||||
options = { :type => :list_optional, :values => field.possible_values_options(project), :order => 20}
|
||||
|
|
Loading…
Reference in New Issue