diff --git a/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/gclient/DateClientParam.java b/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/gclient/DateClientParam.java index 2fbdcc30542..4dc1f5b914c 100644 --- a/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/gclient/DateClientParam.java +++ b/hapi-fhir-base/src/main/java/ca/uhn/fhir/rest/gclient/DateClientParam.java @@ -50,7 +50,7 @@ public class DateClientParam implements IParam { } public IDateSpecifier before() { - return new DateWithPrefix("<="); + return new DateWithPrefix("<"); } public IDateSpecifier beforeOrEquals() { diff --git a/src/changes/changes.xml b/src/changes/changes.xml index cf35ad9a0dd..46cddfd6b4d 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -139,6 +139,10 @@ Observation.applies[x] and other similar search fields with multiple allowable value types were not being correctly indexed in the JPA server. + + DateClientParam.before() incorrectly placed "<=" instead of + "<" in the request URL. Thanks to Ryan for reporting! +