mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Merge branch 'feature/RM-4329_Alfreco_Search_in_colaboration_site_doesn't_work' into 'master'
Feature/rm 4329 alfreco search in colaboration site doesn't work See merge request !616
This commit is contained in:
@@ -30,18 +30,18 @@
|
|||||||
// Additional properties will also need rendering in rmsearch.get.json.ftl.
|
// Additional properties will also need rendering in rmsearch.get.json.ftl.
|
||||||
var getOriginalDocumentItem = getDocumentItem,
|
var getOriginalDocumentItem = getDocumentItem,
|
||||||
getOriginalRepositoryItem = getRepositoryItem;
|
getOriginalRepositoryItem = getRepositoryItem;
|
||||||
getDocumentItem = function(siteId, containerId, pathParts, node, populate){
|
getDocumentItem = function(siteId, containerId, pathParts, node, populate, highlighting){
|
||||||
// Get original Document item.
|
// Get original Document item.
|
||||||
var item = getOriginalDocumentItem(siteId, containerId, pathParts, node, populate);
|
var item = getOriginalDocumentItem(siteId, containerId, pathParts, node, populate, highlighting);
|
||||||
|
|
||||||
item.nodeJSON = appUtils.toJSON(node, true);
|
item.nodeJSON = appUtils.toJSON(node, true);
|
||||||
|
|
||||||
return item;
|
return item;
|
||||||
};
|
};
|
||||||
|
|
||||||
getRepositoryItem = function(folderPath, node, populate){
|
getRepositoryItem = function(folderPath, node, populate, highlighting){
|
||||||
// Get Original Repo item
|
// Get Original Repo item
|
||||||
var item = getOriginalRepositoryItem(folderPath, node, populate);
|
var item = getOriginalRepositoryItem(folderPath, node, populate, highlighting);
|
||||||
|
|
||||||
if (item.type === "document") {
|
if (item.type === "document") {
|
||||||
item.nodeJSON = appUtils.toJSON(node, true);
|
item.nodeJSON = appUtils.toJSON(node, true);
|
||||||
|
Reference in New Issue
Block a user