Skip to content

Commit

Permalink
Missed a param type for updated
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesagnew committed Mar 12, 2017
1 parent 0e3cc29 commit 95ef644
Showing 1 changed file with 8 additions and 7 deletions.
Expand Up @@ -1226,13 +1226,6 @@ protected ResourceTable updateEntity(final IBaseResource theResource, ResourceTa
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);

Expand All @@ -1245,6 +1238,14 @@ protected ResourceTable updateEntity(final IBaseResource theResource, ResourceTa
}
}

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
Expand Down

0 comments on commit 95ef644

Please sign in to comment.