]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
CSPACE-5997: Make ordering of authority terms returned from JDBC searches case-insens...
authorAron Roberts <aron@socrates.berkeley.edu>
Wed, 8 May 2013 01:47:05 +0000 (18:47 -0700)
committerAron Roberts <aron@socrates.berkeley.edu>
Wed, 8 May 2013 01:47:05 +0000 (18:47 -0700)
services/common/src/main/java/org/collectionspace/services/nuxeo/client/java/RepositoryJavaClientImpl.java

index 3f5b8412492f865297645e7eaef26ad0a63d1700..7298eff3cf84ca05d4e706fa4a30b40a228109a7 100644 (file)
@@ -1150,7 +1150,7 @@ public class RepositoryJavaClientImpl implements RepositoryClient<PoxPayloadIn,
             public int compare(DocumentModel doc1, DocumentModel doc2) {
                 String termDisplayName1 = (String) NuxeoUtils.getXPathValue(doc1, COMMON_PART_SCHEMA, DISPLAY_NAME_XPATH);
                 String termDisplayName2 = (String) NuxeoUtils.getXPathValue(doc2, COMMON_PART_SCHEMA, DISPLAY_NAME_XPATH);
-                return termDisplayName1.compareTo(termDisplayName2);
+                return termDisplayName1.compareToIgnoreCase(termDisplayName2);
             }
         });