DATAJDBC-614 - Correctly combines sorting from sort and page.
Original pull request: #227.
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user