Feature #42477
closedConfigurable columns for the lists of child and related issues
0%
Description
The attached patch implements a global setting that allows to select which columns (issue attributes) should be rendered in the list of related and sub-issues on issues#show.
This feature has been previously implemented (with additional configurability on the project level, which we skipped for this patch) by AlphaNodes' redmine_issue_view_columns plugin. At Planio we think that the possibility to configure this on a global level is useful enough to be part of vanilla Redmine, with the option to expand this to the project level once we implement a generalized scheme for such project-specific setting-overrides.
The patch also adds a setting to toggle display of table headers, which may be useful in case ambiguous columns are shown (i.e., multiple date or user fields).
Files
Related issues
Updated by Go MAEDA 10 months ago
- File fix-for-patch-42477.patch fix-for-patch-42477.patch added
- Target version set to Candidate for next major release
Thank you for submitting the patch that implements the useful feature.
After applying the patch, I observed some test failures. Those errors can be fixed by applying the attached patch on top of the original one.
Failure: SettingsControllerTest#test_get_edit_should_preselect_default_issue_list_columns [test/functional/settings_controller_test.rb:62]: Expected exactly 0 elements matching "option[value=tracker]", found 1. Expected: 0 Actual: 1 bin/rails test test/functional/settings_controller_test.rb:47
Error:
IssuesHelperTest#test_render_issue_relations:
NoMethodError: undefined method `column_content' for an instance of IssuesHelperTest
app/helpers/issues_helper.rb:246:in `block (2 levels) in render_issue_relations'
app/helpers/issues_helper.rb:245:in `each'
app/helpers/issues_helper.rb:245:in `block in render_issue_relations'
app/helpers/issues_helper.rb:220:in `each'
app/helpers/issues_helper.rb:220:in `render_issue_relations'
test/helpers/issues_helper_test.rb:404:in `test_render_issue_relations'
bin/rails test test/helpers/issues_helper_test.rb:397
Updated by Go MAEDA 10 months ago
- Related to Feature #17538: Display priority of related issues added
Updated by Marius BĂLTEANU 9 months ago
- Related to Defect #41828: In mobile view, delete relation svg icon in 'Related Issues' on an issue page, overflow text added
Updated by Go MAEDA 9 months ago
- Related to Patch #15153: Show more information about subtasks added
Updated by Go MAEDA 9 months ago
- Related to Feature #11969: Subtask display fields added
Updated by Go MAEDA 8 months ago
- Has duplicate Feature #5130: Configurable columns in related tasks section added
Updated by Go MAEDA 8 months ago
- Has duplicate Feature #31050: Issue view - allow all issue attributes to be shown for related tickets and subtasks added
Updated by Veit Jahns 7 months ago
Just was asked a similar question, if this can be done in Redmine and found this issue. Having this in a future release is great. Thanks to all of you! We look forward to this.
Just a follow-up question, can the sorting also be configured? If not, might this also be a useful feature?
Updated by Go MAEDA 4 months ago
- Related to Defect #43168: Responsive mode layout breaks when table headers are enabled in related and sub-issues list added
Updated by Go MAEDA 2 months ago
- Has duplicate Feature #16396: Default columns setting for subtasks list added