Merge branch 'ft-search-with-not-modifier' of github.com:hapifhir/hapi-fhir into ft-search-with-not-modifier

This commit is contained in:
Tadgh 2021-09-02 23:07:14 -04:00
commit e3e7edd320
1 changed files with 1 additions and 1 deletions

View File

@ -387,7 +387,7 @@ public class ResourceLinkPredicateBuilder extends BaseJoiningPredicateBuilder {
}
// For the token param, if it's a :not modifier, need switch OR to AND
if (!paramInverted) {
if (!paramInverted && chainValue instanceof TokenParam) {
if (((TokenParam) chainValue).getModifier() == TokenParamModifier.NOT) {
paramInverted = true;
}