From edc7de53fc32b481a8b313068b4d3b94c3bc9641 Mon Sep 17 00:00:00 2001 From: Ray Lee Date: Thu, 9 May 2019 19:20:37 -0700 Subject: [PATCH] DRYD-428: Filter replicated_deleted items from partial term searches. --- .../services/nuxeo/client/java/NuxeoRepositoryClientImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/common/src/main/java/org/collectionspace/services/nuxeo/client/java/NuxeoRepositoryClientImpl.java b/services/common/src/main/java/org/collectionspace/services/nuxeo/client/java/NuxeoRepositoryClientImpl.java index 187fa057c..96056d255 100644 --- a/services/common/src/main/java/org/collectionspace/services/nuxeo/client/java/NuxeoRepositoryClientImpl.java +++ b/services/common/src/main/java/org/collectionspace/services/nuxeo/client/java/NuxeoRepositoryClientImpl.java @@ -1323,7 +1323,8 @@ public class NuxeoRepositoryClientImpl implements RepositoryClient '" + WorkflowClient.WORKFLOWSTATE_DELETED + "')" - + " AND (misc.lifecyclestate <> '" + WorkflowClient.WORKFLOWSTATE_LOCKED_DELETED + "')"; + + " AND (misc.lifecyclestate <> '" + WorkflowClient.WORKFLOWSTATE_LOCKED_DELETED + "')" + + " AND (misc.lifecyclestate <> '" + WorkflowClient.WORKFLOWSTATE_REPLICATED_DELETED + "')"; } // If a particular authority is specified, restrict the query further -- 2.47.3