<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Wed Feb 07 22:36:43 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[COMPASS-4537] Export Collection feature is ignoring the query that was entered</title>
                <link>https://jira.mongodb.org/browse/COMPASS-4537</link>
                <project id="13182" key="COMPASS">Compass </project>
                    <description>&lt;h3&gt;&lt;a name=&quot;ProblemDescription%3A&quot;&gt;&lt;/a&gt;Problem Description:&lt;/h3&gt;

&lt;p&gt;After entering a query and trying to export the collection to a CSV or JSON file. I&apos;m getting all the documents&#160; in the collection, rather than only the ones selected by the query.&lt;/p&gt;
&lt;h3&gt;&lt;a name=&quot;StepstoReproduce%3A&quot;&gt;&lt;/a&gt;Steps to Reproduce:&lt;/h3&gt;

&lt;p&gt;1. Enter a query that doesn&apos;t return all documents:&lt;br/&gt;
&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://jira.mongodb.org/secure/attachment/291432/291432_image-2020-12-14-12-38-57-587.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;2. After running the query, you should get a specific number of documents&lt;br/&gt;
&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://jira.mongodb.org/secure/attachment/291431/291431_image-2020-12-14-12-40-34-188.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;br/&gt;
3. Click on the button &quot;Export Collection&quot;:&lt;br/&gt;
&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://jira.mongodb.org/secure/attachment/291430/291430_image-2020-12-14-12-41-26-643.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;br/&gt;
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.&lt;br/&gt;
&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://jira.mongodb.org/secure/attachment/291429/291429_image-2020-12-14-12-43-47-875.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h3&gt;&lt;a name=&quot;ExpectedResults%3A&quot;&gt;&lt;/a&gt;Expected Results:&lt;/h3&gt;

&lt;p&gt;It should export only the query results and not all the collection.&lt;/p&gt;
&lt;h3&gt;&lt;a name=&quot;ActualResults&quot;&gt;&lt;/a&gt;Actual Results&lt;/h3&gt;

&lt;p&gt;It&apos;s exporting all the collection, regardless the query that was introduced.&lt;/p&gt;
&lt;h3&gt;&lt;a name=&quot;AdditionalNotes%3A&quot;&gt;&lt;/a&gt;Additional Notes:&lt;/h3&gt;

&lt;p&gt;It was working perfectly in the previous version.&lt;/p&gt;</description>
                <environment></environment>
        <key id="1567448">COMPASS-4537</key>
            <summary>Export Collection feature is ignoring the query that was entered</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="13201">Fixed</resolution>
                                        <assignee username="rhys.howell@mongodb.com">Rhys Howell</assignee>
                                    <reporter username="aodavis@falabella.cl">Andrew Davis</reporter>
                        <labels>
                            <label>export</label>
                    </labels>
                <created>Mon, 14 Dec 2020 15:49:44 +0000</created>
                <updated>Sun, 29 Oct 2023 02:40:04 +0000</updated>
                            <resolved>Wed, 30 Jun 2021 12:18:45 +0000</resolved>
                                    <version>1.24.1</version>
                                    <fixVersion>1.27</fixVersion>
                                    <component>Compass</component>
                        <due></due>
                            <votes>1</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="3911564" author="xgen-internal-githook" created="Thu, 1 Jul 2021 07:21:32 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Rhys&apos;, &apos;email&apos;: &apos;Anemy@users.noreply.github.com&apos;, &apos;username&apos;: &apos;Anemy&apos;}
&lt;p&gt;Message: fix(import-export): Use query document count in export &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-4537&quot; title=&quot;Export Collection feature is ignoring the query that was entered&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-4537&quot;&gt;&lt;del&gt;COMPASS-4537&lt;/del&gt;&lt;/a&gt;, &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-4906&quot; title=&quot;Timeseries document count not available with driver v4&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-4906&quot;&gt;&lt;del&gt;COMPASS-4906&lt;/del&gt;&lt;/a&gt; (#2307)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;temp commit&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Make an import and an export store to avoid double listening, show correct count, fix showing undefined for filter&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Code cleanup, better comments&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;fix standalone running import/export&lt;br/&gt;
Branch: 1.27-releases&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/compass/commit/938333b404e36a863af429a1ada0c8b9abfba61d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/commit/938333b404e36a863af429a1ada0c8b9abfba61d&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="3909472" author="xgen-internal-githook" created="Wed, 30 Jun 2021 09:13:36 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Rhys&apos;, &apos;email&apos;: &apos;Anemy@users.noreply.github.com&apos;, &apos;username&apos;: &apos;Anemy&apos;}
&lt;p&gt;Message: fix(import-export): Use query document count in export &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-4537&quot; title=&quot;Export Collection feature is ignoring the query that was entered&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-4537&quot;&gt;&lt;del&gt;COMPASS-4537&lt;/del&gt;&lt;/a&gt;, &lt;a href=&quot;https://jira.mongodb.org/browse/COMPASS-4906&quot; title=&quot;Timeseries document count not available with driver v4&quot; class=&quot;issue-link&quot; data-issue-key=&quot;COMPASS-4906&quot;&gt;&lt;del&gt;COMPASS-4906&lt;/del&gt;&lt;/a&gt; (#2307)&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;temp commit&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Make an import and an export store to avoid double listening, show correct count, fix showing undefined for filter&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;Code cleanup, better comments&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;fix standalone running import/export&lt;br/&gt;
Branch: main&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb-js/compass/commit/938333b404e36a863af429a1ada0c8b9abfba61d&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb-js/compass/commit/938333b404e36a863af429a1ada0c8b9abfba61d&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="3529754" author="massimiliano.marcon" created="Tue, 15 Dec 2020 08:11:24 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=aodavis%40falabella.cl&quot; class=&quot;user-hover&quot; rel=&quot;aodavis@falabella.cl&quot;&gt;aodavis@falabella.cl&lt;/a&gt; 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?&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Depends</name>
                                            <outwardlinks description="depends on">
                                                        </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="1570367">COMPASS-4541</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1323763">COMPASS-4255</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="1513960">COMPASS-4459</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="2199048">COMPASS-6339</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="1798497">COMPASS-4906</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="292384" name="Kapture 2020-12-16 at 17.24.59.gif" size="960015" author="rhys.howell@mongodb.com" created="Fri, 18 Dec 2020 12:31:28 +0000"/>
                            <attachment id="291432" name="image-2020-12-14-12-38-57-587.png" size="9495" author="aodavis@falabella.cl" created="Mon, 14 Dec 2020 15:38:58 +0000"/>
                            <attachment id="291431" name="image-2020-12-14-12-40-34-188.png" size="6142" author="aodavis@falabella.cl" created="Mon, 14 Dec 2020 15:40:34 +0000"/>
                            <attachment id="291430" name="image-2020-12-14-12-41-26-643.png" size="3933" author="aodavis@falabella.cl" created="Mon, 14 Dec 2020 15:41:27 +0000"/>
                            <attachment id="291429" name="image-2020-12-14-12-43-47-875.png" size="17477" author="aodavis@falabella.cl" created="Mon, 14 Dec 2020 15:43:48 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Tue, 15 Dec 2020 08:11:24 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        2 years, 31 weeks, 6 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[<s><a href='https://jira.mongodb.org/browse/COMPASS-4479'>COMPASS-4479</a></s>]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10257" key="com.atlassian.jira.plugin.system.customfieldtypes:radiobuttons">
                        <customfieldname>Documentation Changes</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="11861"><![CDATA[Not Needed]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>luke.bonanomi@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            2 years, 31 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>aodavis@falabella.cl</customfieldvalue>
            <customfieldvalue>xgen-internal-githook</customfieldvalue>
            <customfieldvalue>massimiliano.marcon@mongodb.com</customfieldvalue>
            <customfieldvalue>rhys.howell@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hylotb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hy4o33:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_10557" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="5212">Iteration Firenze</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10555" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hylb2n:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>