Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using @Query and a Sort parameter on the same method should produce sorted results [DATAMONGO-323] #1257

Closed
spring-projects-issues opened this issue Nov 17, 2011 · 1 comment
Assignees
Labels
in: core type: enhancement
Milestone

Comments

@spring-projects-issues
Copy link

spring-projects-issues commented Nov 17, 2011

Andrew Bailey opened DATAMONGO-323 and commented

For a given @Query annotated method it would be useful to also be able to define how the result is sorted by passing a Sort parameter to the query method rather than having to embed the sort order in the @Query string.

Please also see http://stackoverflow.com/questions/7753243/adding-sort-to-mongo-json-query-with-spring-data-repository

There is no compilation or runtime error; the Sort is just not applied


Affects: 1.0 M5

Attachments:

Referenced from: commits 07556ec

@spring-projects-issues
Copy link
Author

spring-projects-issues commented Nov 23, 2011

Oliver Drotbohm commented

Fixed. Will be available in tonight's snapshot build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core type: enhancement
Projects
None yet
Development

No branches or pull requests

2 participants