Actions
Feature #1668
openSupport calclulating with list custom fields when list values are integers or floats
Start date:
Due date:
% Done:
0%
Estimated time:
Compatible Redmine Version:
Pull Request Link:
Description
Look at lib/redmine/field_format.rb
:
class Base
...
def cast_single_value(custom_field, value, customized=nil)
value.to_s
end
where values are casted to Strings by default.
List format does not override the method. Therefore, lists of integers or floats are not calculable.
Updated by liaham over 1 year ago
- Subject changed from Support list custom field when list values are integers or floats to Support calclulating with list custom fields when list values are integers or floats
Actions