From 95ef6446124416bed23c2ae2945bfa22a06a700e Mon Sep 17 00:00:00 2001 From: James Date: Sun, 12 Mar 2017 18:50:49 -0400 Subject: [PATCH] Missed a param type for updated --- .../java/ca/uhn/fhir/jpa/dao/BaseHapiFhirDao.java | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/BaseHapiFhirDao.java b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/BaseHapiFhirDao.java index 9091313c710..df8ad84b4af 100644 --- a/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/BaseHapiFhirDao.java +++ b/hapi-fhir-jpaserver-base/src/main/java/ca/uhn/fhir/jpa/dao/BaseHapiFhirDao.java @@ -1226,13 +1226,6 @@ public abstract class BaseHapiFhirDao implements IDao { uriParams = extractSearchParamUri(theEntity, theResource); coordsParams = extractSearchParamCoords(theEntity, theResource); - setUpdatedTime(stringParams, theUpdateTime); - setUpdatedTime(numberParams, theUpdateTime); - setUpdatedTime(quantityParams, theUpdateTime); - setUpdatedTime(dateParams, theUpdateTime); - setUpdatedTime(uriParams, theUpdateTime); - setUpdatedTime(coordsParams, theUpdateTime); - // ourLog.info("Indexing resource: {}", entity.getId()); ourLog.trace("Storing date indexes: {}", dateParams); @@ -1245,6 +1238,14 @@ public abstract class BaseHapiFhirDao implements IDao { } } + setUpdatedTime(stringParams, theUpdateTime); + setUpdatedTime(numberParams, theUpdateTime); + setUpdatedTime(quantityParams, theUpdateTime); + setUpdatedTime(dateParams, theUpdateTime); + setUpdatedTime(uriParams, theUpdateTime); + setUpdatedTime(coordsParams, theUpdateTime); + setUpdatedTime(tokenParams, theUpdateTime); + /* * Handle references within the resource that are match URLs, for example references like "Patient?identifier=foo". These match URLs are resolved and replaced with the ID of the * matching