Skip to content

Ignore sorting parameter when exporting issues to CSV

Jan Provaznik requested to merge ee-jprovazn-fix-csv-labels2 into master

What does this MR do?

When exporting issues to CSV, we pass same parameters (sorting, filtering) as used on issues index page. There is no reason to call IssuesFinder with sorting parameter because then IssuesFinder may generate much more complex query for getting issues (depending on what column is used for sorting) and this sorting is then ignored anyway by CSV Builder because it uses .find_each to load issues in batches.

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #4159 (closed)

Edited by Andreas Brandl

Merge request reports