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 about 1 month 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 about 1 month ago
- Related to Feature #17538: Display priority of related issues added
Updated by Go MAEDA about 1 month ago
- Tracker changed from Patch to Feature
- Target version changed from Candidate for next major release to 6.1.0
Setting the target version to 6.1.0.
Updated by Marius BĂLTEANU 23 days 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 8 days ago
- Related to Patch #15153: Show more information about subtasks added
Updated by Go MAEDA 8 days ago
- Related to Feature #11969: Subtask display fields added