diff --git a/hapi-fhir-jpaserver-model/src/main/java/ca/uhn/fhir/jpa/model/entity/ResourceIndexedSearchParamDate.java b/hapi-fhir-jpaserver-model/src/main/java/ca/uhn/fhir/jpa/model/entity/ResourceIndexedSearchParamDate.java index b891048ee9b..0bc15af8647 100644 --- a/hapi-fhir-jpaserver-model/src/main/java/ca/uhn/fhir/jpa/model/entity/ResourceIndexedSearchParamDate.java +++ b/hapi-fhir-jpaserver-model/src/main/java/ca/uhn/fhir/jpa/model/entity/ResourceIndexedSearchParamDate.java @@ -185,6 +185,8 @@ public class ResourceIndexedSearchParamDate extends BaseResourceIndexedSearchPar b.append(getParamName(), obj.getParamName()); b.append(getTimeFromDate(getValueHigh()), getTimeFromDate(obj.getValueHigh())); b.append(getTimeFromDate(getValueLow()), getTimeFromDate(obj.getValueLow())); + b.append(getValueLowDateOrdinal(), obj.getValueLowDateOrdinal()); + b.append(getValueHighDateOrdinal(), obj.getValueHighDateOrdinal()); b.append(isMissing(), obj.isMissing()); return b.isEquals(); }