CSV Export functionality is including erroneous set of MRs when navigation happens after first load
Summary
The CSV export is based on the information provided by the Backend and this isn't refreshed upon client-side navigation.
Steps to reproduce
- Go to a project MR list page on gitlab.com (confirm FF
vue_merge_request_listis enabled) - Navigate to a different tab or add a new filter
- Click the ellipsis menu
- CSV Export
You'll see the number of MRs doesn't match the ones shown in that tab.
Workaround
After you've done your selection, refresh the page and access the CSV export functionality straight away without changing filters/tab.
Possible fixes
Check the Issues list implementation: app/assets/javascripts/issues/list/components/issues_list_app.vue#1061-1062