Project

General

Profile

Actions

Patch #3756

closed

Integer custom fields should use correct query controls

Added by Anonymous over 14 years ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Custom fields
Target version:
-
Start date:
2009-08-19
Due date:
% Done:

0%

Estimated time:

Description

--- a/app/models/query.rb Mon Aug 03 09:28:37 2009 1000
++ b/app/models/query.rb Mon Aug 03 09:40:16 2009 1000
@ -445,6 +445,8 @
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"
+ options = { :type => :integer, :order => 20 }
else
options = { :type => :string, :order => 20 }
end


Files

Actions

Also available in: Atom PDF