Patch #29830

Issue CSV export options: checkboxes have no effect for columns activated in query

Added by Tobias Stenzel 7 months ago. Updated 6 months ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Issues
Target version:4.1.0

Description

The csv export option modal for issues has checkboxes for the description and last notes which are activated by default if these columns are activated for the current query. Disabling them manually has no effect: the columns are still exported to CSV because query_as_hidden_field_tags adds them as hidden fields.

This adds an argument ignored_column_names to query_as_hidden_fields_tags which is used to ignore the description and last_notes columns for issues.

Patch works for Redmine 3.4 and 4.

0001-fix-Issue-CSV-export-options-checkboxes-have-no-effe.patch Magnifier (2.16 KB) Tobias Stenzel, 2018-10-22 22:21

History

#1 Updated by Go MAEDA 7 months ago

  • Target version set to Candidate for next minor release

#2 Updated by Mizuki ISHIKAWA 7 months ago

Thank you for sharing the patch.

The csv export option modal for issues has checkboxes for the description and last notes which are activated by default if these columns are activated for the current query. Disabling them manually has no effect: the columns are still exported to CSV because query_as_hidden_field_tags adds them as hidden fields.

I felt something wrong with this behavior.

I investigated a little to see if we can solve this problem by changing the view, but it seemed difficult.
I think the method proposed in 0001-fix-Issue-CSV-export-options-checkboxes-have-no-effe.patch is valid.

#3 Updated by Go MAEDA 6 months ago

  • Target version changed from Candidate for next minor release to 4.1.0

Also available in: Atom PDF