Actions
Feature #1803
closedAllow custom issue fields as column in issues overview
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Custom fields
Target version:
-
Start date:
2008-08-21
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Description
It would be useful to be able to show custom field values in the issues overview as an extra column.
E.g. I have a custom field 'Points' in my issue trackers. In the filtered table on the Issues page, I'd like to view the values of that field and be able to sort on those values.
Updated by Reinout van Schouwen about 16 years ago
I found that changing the method 'columns' in the Query class like this:
def columns if has_default_columns? available_columns.select {|c| Setting.issue_list_default_columns.include?(c.name.to_s) || c.instance_of?(QueryCustomFieldColumn) } else # preserve the column_names order column_names.collect {|name| available_columns.find {|col| col.name == name}}.compact end end
will make custom fields be shown on the main issue table. However, there is no way to select custom fields, you just get all of them. Also, custom fields are not sortable by definition (hard coded in QueryCustomFieldColumn class)
Updated by Mark P over 15 years ago
Does this help: http://www.redmine.org/projects/1/repository/revisions/889
Updated by Jean-Philippe Lang over 15 years ago
- Status changed from New to Closed
- Resolution set to Fixed
Indeed.
Actions