mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
RM-2561: full node properties only exist for documents, but search might include non-documents so allow for missing nodeJSON.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@110959 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -59,10 +59,11 @@
|
||||
</#list>
|
||||
</#if>
|
||||
],
|
||||
"tags": [<#list item.tags as tag>"${tag}"<#if tag_has_next>,</#if></#list>],
|
||||
<#--Add in full node details-->
|
||||
"node": <#noescape>${item.nodeJSON}</#noescape>
|
||||
|
||||
"tags": [<#list item.tags as tag>"${tag}"<#if tag_has_next>,</#if></#list>]
|
||||
<#--Add in full node details, if they exist-->
|
||||
<#if item.nodeJSON??>
|
||||
,"node": <#noescape>${item.nodeJSON}</#noescape>
|
||||
</#if>
|
||||
}<#if item_has_next>,</#if>
|
||||
</#list>
|
||||
],
|
||||
|
Reference in New Issue
Block a user