[COMPASS-4537] Export Collection feature is ignoring the query that was entered Created: 14/Dec/20  Updated: 29/Oct/23  Resolved: 30/Jun/21

Status: Closed
Project: Compass
Component/s: Compass
Affects Version/s: 1.24.1
Fix Version/s: 1.27

Type: Bug Priority: Minor - P4
Reporter: Andrew Davis Assignee: Rhys Howell
Resolution: Fixed Votes: 1
Labels: export
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: GIF File Kapture 2020-12-16 at 17.24.59.gif     PNG File image-2020-12-14-12-38-57-587.png     PNG File image-2020-12-14-12-40-34-188.png     PNG File image-2020-12-14-12-41-26-643.png     PNG File image-2020-12-14-12-43-47-875.png    
Issue Links:
Depends
Duplicate
duplicates COMPASS-4541 When exporting with filter, document ... Closed
duplicates COMPASS-4255 Document count on progress indicator ... Closed
duplicates COMPASS-4459 Exporting document shows the total # ... Closed
is duplicated by COMPASS-6339 'Export query with filters' provides ... Closed
Related
is related to COMPASS-4906 Timeseries document count not availab... Closed
Story Points: 3
Documentation Changes: Not Needed
Sprint: Iteration Firenze

 Description   

Problem Description:

After entering a query and trying to export the collection to a CSV or JSON file. I'm getting all the documents  in the collection, rather than only the ones selected by the query.

Steps to Reproduce:

1. Enter a query that doesn't return all documents:

2. After running the query, you should get a specific number of documents

3. Click on the button "Export Collection":

4. The displayed window will show that is going to export ALL the documents (2,688,702 results) rather than the 158,773 selected by the query.

Expected Results:

It should export only the query results and not all the collection.

Actual Results

It's exporting all the collection, regardless the query that was introduced.

Additional Notes:

It was working perfectly in the previous version.



 Comments   
Comment by Githook User [ 01/Jul/21 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: fix(import-export): Use query document count in export COMPASS-4537, COMPASS-4906 (#2307)

  • temp commit
  • Make an import and an export store to avoid double listening, show correct count, fix showing undefined for filter
  • Code cleanup, better comments
Comment by Githook User [ 30/Jun/21 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: fix(import-export): Use query document count in export COMPASS-4537, COMPASS-4906 (#2307)

  • temp commit
  • Make an import and an export store to avoid double listening, show correct count, fix showing undefined for filter
  • Code cleanup, better comments
Comment by Massimiliano Marcon [ 15/Dec/20 ]

aodavis@falabella.cl I think the bug is in the UI (the counter displays the wrong number), not in the exporter itself. Can you try doing the export and checking how many results are actually exported?

Generated at Wed Feb 07 22:36:43 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.