Patch #29830

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

Added by Tobias Stenzel 25 days ago. Updated 11 days ago.

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

0%

Category:Issues
Target version:Candidate for next minor release

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 20 days ago

  • Target version set to Candidate for next minor release

#2 Updated by Mizuki ISHIKAWA 11 days 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.

Also available in: Atom PDF