-
Type: Bug
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: Import/Export
-
None
-
Not Needed
Problem Statement/Rationale
When I am in a collection and want to export my filtered results, we have 2 options: Export query with filters or Export Full Collection. For example, Export query with filters — 374,300 results (Recommended). However, that number of results is incorrect - it is the size of the entire collection, not the size of the returned results from my filter. When I continue on and execute the export, as the data is exporting, the progress shows that the total number of documents to export as the total collection size, not the size of the filtered results that will actually be exported. For example, under the loading bar it says Export completed 374,300 / 374,300. But it should show the number of results returned by the filter, not the collection size. In the end, the correct number of documents gets exported, however the numbers that are being displayed is very misleading. **
Steps to Reproduce
You can try going into one of your collections, filtering the data, and then click on the Export Collection button. You will see the number of results returned for Export Query with Filters to be incorrect. Then proceed by clicking on Select Fields, then Select Output button, then browse for an output and click on Export. You will then see how under the green progress bar, the total number of documents to be exported is the total collection size, not the number of documents returned from the filter
Expected Results
I expect the total number of results returned for the Export query with filter options to be equal to the number of documents displaying after filtering. Same applies for the total number of documents under the export progress bar
Actual Results
The numbers being displayed are the total collection size, even though my filter returns a smaller number of documents
- duplicates
-
COMPASS-4537 Export Collection feature is ignoring the query that was entered
- Closed