]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
CSPACE-5943: Added join on database tables for the common parts of authority item...
authorAron Roberts <aron@socrates.berkeley.edu>
Thu, 28 Mar 2013 01:34:47 +0000 (18:34 -0700)
committerAron Roberts <aron@socrates.berkeley.edu>
Thu, 28 Mar 2013 01:34:47 +0000 (18:34 -0700)
services/common/src/main/java/org/collectionspace/services/nuxeo/client/java/RepositoryJavaClientImpl.java

index 03b065480a03c166306f3191315e01fddd21dcd5..64f90839e30291e3ffd09a8da1421d9b12b5fd59 100644 (file)
@@ -929,6 +929,8 @@ public class RepositoryJavaClientImpl implements RepositoryClient<PoxPayloadIn,
                + "  ON h1.parentid = hierarchy.id "
                 + " LEFT JOIN " + handler.getJDBCQueryParams().get(JDBC_TABLE_NAME_PARAM) + " tg "
                + "   ON tg.id = h1.id "
+                + " LEFT JOIN " + handler.getServiceContext().getCommonPartLabel() + " commonschema "
+               + "   ON commonschema.id = hierarchy.id "
                 + " LEFT JOIN misc "
                + "   ON misc.id = hierarchy.id "
                 + " WHERE (tg.termdisplayname ILIKE ?) "