Fix issues CSV export ignoring created/closed date filters
What does this MR do and why?
This MR ensures that issues CSV export respects the created/closed date filters that were introduced in the "Filter enhancement: Filter issues on when they were created or closed" issue.
Previously, the issues list view correctly applied filters such as created_after, created_before,
closed_after, and closed_before, but exporting the same result set to CSV ignored these date filters
and returned all matching issues regardless of their created/closed dates.
This MR ensures that the CSV export applies the same date filter parameters as the list view.
References
How to set up and validate locally
- Apply date filters on the issues list (e.g.,
created_after,created_before,closed_after,closed_before) - Export the filtered issues to CSV
- Verify that the CSV contains only the issues matching the applied date filters (via http://127.0.0.1:3000/rails/letter_opener/)
- Confirm that the CSV export results match the issues displayed in the UI list view
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Shane Maglangit