Don't trust stored total when determining whether or not to expand.
This commit is contained in:
parent
8c6fd9f2d9
commit
aa9a984075
|
@ -518,7 +518,7 @@ public abstract class BaseHapiTerminologySvcImpl implements IHapiTerminologySvc,
|
||||||
theExpansionComponent.addParameter().setName("offset").setValue(new IntegerType(theOffset));
|
theExpansionComponent.addParameter().setName("offset").setValue(new IntegerType(theOffset));
|
||||||
theExpansionComponent.addParameter().setName("count").setValue(new IntegerType(theCount));
|
theExpansionComponent.addParameter().setName("count").setValue(new IntegerType(theCount));
|
||||||
|
|
||||||
if (theCount == 0 || total == 0) {
|
if (theCount == 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue