-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Sort.Order ignoreCase does not work when query uses selectionAlias #2280
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
Labels
type: bug
A general bug
Comments
hi, can this be worked? |
gregturn
added a commit
that referenced
this issue
Jan 4, 2022
When writing a select with a field alias, properly handle Sort.Order's ignoreCase. Closes #2280.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using
Pageable
containing aSort
with ignore case set to true and using a query with selectionAlias, lower is never added to resulting query.Sort.Order(...,"name", ...).ignoreCase()
.org.springframework.data.jpa.repository.query.QueryUtils.java
never reacheslower
modifier (line 308) because of selectionAlias check (line 293),getOrderClause()
method.The text was updated successfully, but these errors were encountered: