Actions
Feature #21413
closedTotals for custom field with different field format
Status:
Closed
Priority:
Normal
Assignee:
Category:
Code cleanup/refactoring
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Description
Please change the #1561 implementation so that FieldFormat class determines if the custom field is totalable or not.
e.g.
class QueryCustomFieldColumn < QueryColumn def initialize(custom_field) self.name = "cf_#{custom_field.id}".to_sym self.sortable = custom_field.order_statement || false self.groupable = custom_field.group_statement || false self.totalable = custom_field.totalable @inline = true @cf = custom_field end
We have a plugin adding custom fields with field_format different than int and float and would like to use totalable feature for those custom fields.
Related issues
Updated by Jean-Philippe Lang about 9 years ago
- Related to Feature #1561: Totals for estimated/spent time and numeric custom fields on the issue list added
Updated by Jean-Philippe Lang about 9 years ago
- Category changed from Issues to Code cleanup/refactoring
- Status changed from New to Closed
- Assignee set to Jean-Philippe Lang
- Resolution set to Fixed
See r14944, you can enable totals for your custom field formats.
Actions