Merge 95861f3e23
into 96e1c2a5db
This commit is contained in:
commit
aa6f193ced
|
@ -2022,7 +2022,7 @@ public abstract class BaseHapiFhirResourceDao<T extends IBaseResource> extends B
|
|||
}
|
||||
}
|
||||
|
||||
final Integer offset = RestfulServerUtils.extractOffsetParameter(theRequest);
|
||||
final Integer offset = theParams.getOffset() != null ? theParams.getOffset() : RestfulServerUtils.extractOffsetParameter(theRequest);
|
||||
if (offset != null || !isPagingProviderDatabaseBacked(theRequest)) {
|
||||
theParams.setLoadSynchronous(true);
|
||||
if (offset != null) {
|
||||
|
@ -2031,7 +2031,7 @@ public abstract class BaseHapiFhirResourceDao<T extends IBaseResource> extends B
|
|||
theParams.setOffset(offset);
|
||||
}
|
||||
|
||||
Integer count = RestfulServerUtils.extractCountParameter(theRequest);
|
||||
Integer count = theParams.getCount() != null ? theParams.getCount() : RestfulServerUtils.extractCountParameter(theRequest);
|
||||
if (count != null) {
|
||||
Integer maxPageSize = theRequest.getServer().getMaximumPageSize();
|
||||
if (maxPageSize != null && count > maxPageSize) {
|
||||
|
|
Loading…
Reference in New Issue