Passed sorting to next pageable request from cosmos page request (#461)
This commit is contained in:
Родитель
797fe3ef51
Коммит
672876f3da
|
@ -59,7 +59,7 @@ public class CosmosPageRequest extends PageRequest {
|
||||||
@Override
|
@Override
|
||||||
public Pageable next() {
|
public Pageable next() {
|
||||||
return new CosmosPageRequest(this.offset + (long) this.getPageSize(),
|
return new CosmosPageRequest(this.offset + (long) this.getPageSize(),
|
||||||
this.getPageNumber() + 1, getPageSize(), this.requestContinuation);
|
this.getPageNumber() + 1, getPageSize(), this.requestContinuation, getSort());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Загрузка…
Ссылка в новой задаче