From: Aron Roberts Date: Thu, 29 Nov 2012 04:48:04 +0000 (-0800) Subject: CSPACE-5733: Emit refnames with each item in 'all record types' search results, this... X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=fcb895f931f631c32b52f27d401e53e169fb296a;p=tmp%2Fjakarta-migration.git CSPACE-5733: Emit refnames with each item in 'all record types' search results, this time truly doing exactly that. --- diff --git a/services/servicegroup/service/src/main/java/org/collectionspace/services/servicegroup/nuxeo/ServiceGroupDocumentModelHandler.java b/services/servicegroup/service/src/main/java/org/collectionspace/services/servicegroup/nuxeo/ServiceGroupDocumentModelHandler.java index ba4187c28..20ea0a94b 100644 --- a/services/servicegroup/service/src/main/java/org/collectionspace/services/servicegroup/nuxeo/ServiceGroupDocumentModelHandler.java +++ b/services/servicegroup/service/src/main/java/org/collectionspace/services/servicegroup/nuxeo/ServiceGroupDocumentModelHandler.java @@ -195,9 +195,10 @@ public class ServiceGroupDocumentModelHandler fields[1] = STANDARD_LIST_URI_FIELD; fields[2] = STANDARD_LIST_UPDATED_AT_FIELD; fields[3] = STANDARD_LIST_WORKFLOW_FIELD; - fields[4] = DOC_NAME_FIELD; - fields[5] = DOC_NUMBER_FIELD; - fields[6] = DOC_TYPE_FIELD; + fields[4] = STANDARD_LIST_REFNAME_FIELD; + fields[5] = DOC_NAME_FIELD; + fields[6] = DOC_NUMBER_FIELD; + fields[7] = DOC_TYPE_FIELD; list.setFieldsReturned(fields); Iterator iter = docList.iterator(); HashMap item = new HashMap();