Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-4537

Export Collection feature is ignoring the query that was entered

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.27
    • Affects Version/s: 1.24.1
    • Component/s: Compass
    • 3
    • Not Needed
    • Iteration Firenze

      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.

        1. image-2020-12-14-12-38-57-587.png
          image-2020-12-14-12-38-57-587.png
          9 kB
        2. image-2020-12-14-12-40-34-188.png
          image-2020-12-14-12-40-34-188.png
          6 kB
        3. image-2020-12-14-12-41-26-643.png
          image-2020-12-14-12-41-26-643.png
          4 kB
        4. image-2020-12-14-12-43-47-875.png
          image-2020-12-14-12-43-47-875.png
          17 kB
        5. Kapture 2020-12-16 at 17.24.59.gif
          938 kB

            Assignee:
            rhys.howell@mongodb.com Rhys Howell
            Reporter:
            aodavis@falabella.cl Andrew Davis
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: