From 375c7e1b13a2c7d71ab2e6310ddc52f07ed01ece Mon Sep 17 00:00:00 2001 From: Mihai Cozma Date: Wed, 9 Nov 2016 17:02:14 +0000 Subject: [PATCH] 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 --- .../alfresco/slingshot/rmsearch/faceted/rmsearch.lib.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rm-community/rm-community-repo/config/alfresco/templates/webscripts/org/alfresco/slingshot/rmsearch/faceted/rmsearch.lib.js b/rm-community/rm-community-repo/config/alfresco/templates/webscripts/org/alfresco/slingshot/rmsearch/faceted/rmsearch.lib.js index 9cb01a588e..32b539f396 100644 --- a/rm-community/rm-community-repo/config/alfresco/templates/webscripts/org/alfresco/slingshot/rmsearch/faceted/rmsearch.lib.js +++ b/rm-community/rm-community-repo/config/alfresco/templates/webscripts/org/alfresco/slingshot/rmsearch/faceted/rmsearch.lib.js @@ -30,18 +30,18 @@ // Additional properties will also need rendering in rmsearch.get.json.ftl. var getOriginalDocumentItem = getDocumentItem, getOriginalRepositoryItem = getRepositoryItem; -getDocumentItem = function(siteId, containerId, pathParts, node, populate){ +getDocumentItem = function(siteId, containerId, pathParts, node, populate, highlighting){ // 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); return item; }; -getRepositoryItem = function(folderPath, node, populate){ +getRepositoryItem = function(folderPath, node, populate, highlighting){ // Get Original Repo item - var item = getOriginalRepositoryItem(folderPath, node, populate); + var item = getOriginalRepositoryItem(folderPath, node, populate, highlighting); if (item.type === "document") { item.nodeJSON = appUtils.toJSON(node, true);