update comment
This commit is contained in:
parent
ad39b319f8
commit
995bda0623
|
@ -166,7 +166,7 @@ public class PersistedJpaBundleProvider implements IBundleProvider {
|
||||||
|
|
||||||
protected List<IBaseResource> doSearchOrEverything(final int theFromIndex, final int theToIndex) {
|
protected List<IBaseResource> doSearchOrEverything(final int theFromIndex, final int theToIndex) {
|
||||||
if (mySearchEntity.getTotalCount() != null && mySearchEntity.getNumFound() <= 0) {
|
if (mySearchEntity.getTotalCount() != null && mySearchEntity.getNumFound() <= 0) {
|
||||||
// This is a _summary=count search
|
// No resources to fetch (e.g. we did a _summary=count search)
|
||||||
return Collections.emptyList();
|
return Collections.emptyList();
|
||||||
}
|
}
|
||||||
final ISearchBuilder sb = myDao.newSearchBuilder();
|
final ISearchBuilder sb = myDao.newSearchBuilder();
|
||||||
|
|
Loading…
Reference in New Issue