mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-21 18:09:20 +00:00
Merged HEAD-BUG-FIX (4.3/Cloud) to HEAD (4.3/Cloud)
64503: Merged WAT1 (4.3/Cloud) to HEAD-BUG-FIX (4.3/Cloud) 64010: Fixed the returned JSON for the get admin-sites webscript, which wasn't returning the correct JSON with empty "entries". git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@64648 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -76,12 +76,13 @@ Usage:
|
|||||||
"skipCount" :${data.skipCount?c},
|
"skipCount" :${data.skipCount?c},
|
||||||
"maxItems" : ${data.maxItems?c}
|
"maxItems" : ${data.maxItems?c}
|
||||||
},
|
},
|
||||||
"entries" : [{
|
"entries" : [
|
||||||
<#list data.items as item>
|
<#list data.items as item>
|
||||||
|
{
|
||||||
"entry" : {
|
"entry" : {
|
||||||
<#nested item>
|
<#nested item>
|
||||||
}
|
}
|
||||||
}<#if item_has_next>, {</#if>
|
}<#if item_has_next>,</#if>
|
||||||
</#list>
|
</#list>
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@@ -11,14 +11,15 @@
|
|||||||
"lastModifiedDate" : "${xmldate(item.siteInfo.lastModifiedDate)}",
|
"lastModifiedDate" : "${xmldate(item.siteInfo.lastModifiedDate)}",
|
||||||
"visibility" : "${item.siteInfo.visibility}",
|
"visibility" : "${item.siteInfo.visibility}",
|
||||||
"userIsSiteManager" : "${item.currentUserSiteManager?c}",
|
"userIsSiteManager" : "${item.currentUserSiteManager?c}",
|
||||||
"siteManagers" : [{
|
"siteManagers" : [
|
||||||
<#list item.members as manager>
|
<#list item.members as manager>
|
||||||
|
{
|
||||||
"entry" : {
|
"entry" : {
|
||||||
"userName" : "${manager.userName}",
|
"userName" : "${manager.userName}",
|
||||||
"firstName" : "${manager.firstName}",
|
"firstName" : "${manager.firstName}",
|
||||||
"lastName" : "${manager.lastName}"
|
"lastName" : "${manager.lastName}"
|
||||||
}
|
}
|
||||||
}<#if manager_has_next>, {</#if>
|
}<#if manager_has_next>,</#if>
|
||||||
</#list>
|
</#list>
|
||||||
]
|
]
|
||||||
</#escape>
|
</#escape>
|
||||||
|
Reference in New Issue
Block a user