patch-2176.diff
extended_fields.patch-2176/lib/extended_fields_helper_patch.rb 2013-03-20 10:47:11.400320842 +0530 | ||
---|---|---|
30 | 30 |
:request => request, |
31 | 31 |
:custom_field => custom_value })) |
32 | 32 |
else |
33 |
Redmine::CustomFieldFormat.format_value(custom_value.value, custom_value.custom_field.field_format) |
|
33 |
field_format = custom_value.custom_field.field_format; |
|
34 |
if custom_value.value.is_a?(Array) |
|
35 |
custom_value.value.collect {|v| format_value(v, field_format)}.compact.sort.join(', ') |
|
36 |
else |
|
37 |
Redmine::CustomFieldFormat.format_value(custom_value.value, field_format) |
|
38 |
end |
|
34 | 39 |
end |
35 | 40 |
end |
36 | 41 |
end |