Patch #3756 ยป PATCH_Integer_CustomField_Query_p3756.diff
app/models/query.rb (working copy) | ||
---|---|---|
538 | 538 |
options = { :type => :date, :order => 20 } |
539 | 539 |
when "bool" |
540 | 540 |
options = { :type => :list, :values => [[l(:general_text_yes), "1"], [l(:general_text_no), "0"]], :order => 20 } |
541 |
when "int" |
|
542 |
options = { :type => :integer, :order => 20 } |
|
541 | 543 |
else |
542 | 544 |
options = { :type => :string, :order => 20 } |
543 | 545 |
end |