Project

General

Profile

Actions

Feature #1668

open

Support calclulating with list custom fields when list values are integers or floats

Added by liaham over 1 year ago. Updated over 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Compatible Redmine Version:

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.

Actions #1

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

Also available in: Atom PDF