<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:52:49 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>[JAVA-670] Sort.Direction.DESC from enum is value 1 instead of -1</title>
                <link>https://jira.mongodb.org/browse/JAVA-670</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;query.with(new Sort(Sort.Direction.DESC, &quot;fieldxxx&quot;));&lt;br/&gt;
In Mongo the value of desc should be -1 instead of 1 that is coming from enum.&lt;/p&gt;</description>
                <environment>Windows, Ubuntu</environment>
        <key id="53683">JAVA-670</key>
            <summary>Sort.Direction.DESC from enum is value 1 instead of -1</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</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="9">Done</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="ranksu">Jari Rangell</reporter>
                        <labels>
                    </labels>
                <created>Fri, 19 Oct 2012 11:46:22 +0000</created>
                <updated>Fri, 30 Nov 2012 17:17:10 +0000</updated>
                            <resolved>Fri, 30 Nov 2012 17:17:10 +0000</resolved>
                                    <version>2.9.1</version>
                                                    <component>API</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="201075" author="phil-schneider" created="Wed, 28 Nov 2012 11:46:26 +0000"  >&lt;p&gt;This is not related to the mongodb java driver.&lt;br/&gt;
Your issue (which is solved because of Deprecated) is because of spring data mongo.&lt;br/&gt;
Please see here: &lt;a href=&quot;https://jira.springsource.org/browse/DATAMONGO&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://jira.springsource.org/browse/DATAMONGO&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="177415" author="ranksu" created="Sat, 20 Oct 2012 06:10:22 +0000"  >&lt;p&gt;The old sort is in org.springframework.data.mongodb.core.query and is deprecated.&lt;br/&gt;
See: 	@Deprecated&lt;br/&gt;
	public org.springframework.data.mongodb.core.query.Sort sort() {&lt;br/&gt;
Also the ENUM for old direction is at org.springframework.data.mongodb.core.query&lt;/p&gt;



&lt;p&gt;The new Sort is in package org.springframework.data.domain and &lt;/p&gt;
</comment>
                            <comment id="177070" author="jeff.yemin" created="Fri, 19 Oct 2012 12:31:15 +0000"  >&lt;p&gt;What package is this Sort class in?  The Java driver doesn&apos;t have a class of that name.&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrk41b:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>31041</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>