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

Sort parameter passed to a query method is ignored when query method uses named query [DATASOLR-63] #187

Closed
spring-projects-issues opened this issue Mar 31, 2013 · 0 comments
Assignees
Labels
type: bug A general bug
Milestone

Comments

@spring-projects-issues
Copy link

spring-projects-issues commented Mar 31, 2013

Petri Kainulainen opened DATASOLR-63 and commented

The sort parameter passed to a query method which uses named query is ignored when the executed query is created. The query returns correct documents but the query results are not sorted.

Example:

@Query(name = "TodoDocument.findByNamedQuery")
public List<TodoDocument> findByNamedQuery(String searchTerm, Sort sort);

Affects: 1.0 RC1

Referenced from: commits 89f948e

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

No branches or pull requests

2 participants