-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
FluentQuery.page(Pagable pagable)
does not consider Pageable.sort
#3762
Comments
As per our Javadoc:
So we expect that Care to elaborate what Spring Data module and which API (Querydsl, Specifications, Query by Example) you're using? |
We need to strengthen our |
FluentQuery.page(Pagable pagable)
does not consider Pageable.sort
We now consider properly a sort value from a given Pageable. Previously, the sort Parameter was not applied from Pageable but from a previous sort(…) call. Also, we apply the given Sort to the resulting Pageable to ensure sort continuity. Closes #3762
We now consider properly a sort value from a given Pageable. Previously, the sort Parameter was not applied from Pageable but from a previous sort(…) call. Also, we apply the given Sort to the resulting Pageable to ensure sort continuity. Closes #3762
Amazing! Thank you a lot! Examples:
|
Yes, that's right. We entirely override any previous |
it possible to implement the method
fluentQuery.page(Pageble pagable)
for automatically callsortBy(Sort sort)
ifpagable.sort
is not null?The text was updated successfully, but these errors were encountered: