DATAJDBC-614 - Correctly combines sorting from sort and page.

Original pull request: #227.
This commit is contained in:
宋金龙
2020-06-01 16:46:21 +08:00
committed by Jens Schauder
parent 6a9aa51e55
commit 735b1bc540

View File

@@ -175,7 +175,8 @@ public class Query {
assertNoCaseSort(pageable.getSort());
return new Query(this.criteria, this.columns, this.sort.and(sort), pageable.getPageSize(), pageable.getOffset());
return new Query(this.criteria, this.columns, this.sort.and(pageable.getSort()), pageable.getPageSize(),
pageable.getOffset());
}
/**