From 3c275e50898d613526ae0c5b10c7c105f50c83f0 Mon Sep 17 00:00:00 2001 From: Aron Roberts Date: Tue, 29 May 2012 19:57:07 -0700 Subject: [PATCH] CSPACE-5229: Remove case-sensitivity when adding matching non-preferred terms to partial term search results. --- .../vocabulary/nuxeo/AuthorityItemDocumentModelHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/authority/service/src/main/java/org/collectionspace/services/common/vocabulary/nuxeo/AuthorityItemDocumentModelHandler.java b/services/authority/service/src/main/java/org/collectionspace/services/common/vocabulary/nuxeo/AuthorityItemDocumentModelHandler.java index b9979ecb7..c1b3cdad8 100644 --- a/services/authority/service/src/main/java/org/collectionspace/services/common/vocabulary/nuxeo/AuthorityItemDocumentModelHandler.java +++ b/services/authority/service/src/main/java/org/collectionspace/services/common/vocabulary/nuxeo/AuthorityItemDocumentModelHandler.java @@ -527,7 +527,7 @@ public abstract class AuthorityItemDocumentModelHandler List result = new ArrayList(); for (String termDisplayName : termDisplayNameList) { - if (termDisplayName.contains(partialTerm) == true) { + if (termDisplayName.toLowerCase().contains(partialTerm.toLowerCase()) == true) { result.add(termDisplayName); } } -- 2.47.3