From 588d205102b693997c68e0c31eba36dda828fa68 Mon Sep 17 00:00:00 2001 From: Patrick Schmitz Date: Tue, 19 Jan 2010 17:04:54 +0000 Subject: [PATCH] CSPACE-774 - Filter proxies from query to get items. Should help with perf, although probably still need to bump slice size. --- .../services/person/PersonAuthorityResource.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/person/service/src/main/java/org/collectionspace/services/person/PersonAuthorityResource.java b/services/person/service/src/main/java/org/collectionspace/services/person/PersonAuthorityResource.java index 5719d0c3a..ff5f5ebca 100644 --- a/services/person/service/src/main/java/org/collectionspace/services/person/PersonAuthorityResource.java +++ b/services/person/service/src/main/java/org/collectionspace/services/person/PersonAuthorityResource.java @@ -420,7 +420,7 @@ public class PersonAuthorityResource extends AbstractCollectionSpaceResource { // Add the where clause "persons_common:inAuthority='" + parentcsid + "'" myFilter.setWhereClause(PersonJAXBSchema.PERSONS_COMMON + ":" + PersonJAXBSchema.IN_AUTHORITY + - "='" + parentcsid + "'"); + "='" + parentcsid + "'" + "AND ecm:isProxy = 0"); // AND persons_common:displayName LIKE '%partialTerm%' if (partialTerm != null && !partialTerm.isEmpty()) { -- 2.47.3