Author: lektran
Date: Sat Sep 11 03:33:16 2010
New Revision: 996051
URL:
http://svn.apache.org/viewvc?rev=996051&view=revLog:
Add SUB_CONTENT to the list of contentAssocTypeIds to look for when indexing content
Modified:
ofbiz/trunk/applications/content/src/org/ofbiz/content/search/SearchWorker.java
Modified: ofbiz/trunk/applications/content/src/org/ofbiz/content/search/SearchWorker.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/src/org/ofbiz/content/search/SearchWorker.java?rev=996051&r1=996050&r2=996051&view=diff==============================================================================
--- ofbiz/trunk/applications/content/src/org/ofbiz/content/search/SearchWorker.java (original)
+++ ofbiz/trunk/applications/content/src/org/ofbiz/content/search/SearchWorker.java Sat Sep 11 03:33:16 2010
@@ -58,7 +58,7 @@ public class SearchWorker {
Map<String, Object> results = FastMap.newInstance();
GenericValue content = delegator.makeValue("Content", UtilMisc.toMap("contentId", siteId));
if (Debug.infoOn()) Debug.logInfo("in indexTree, siteId:" + siteId + " content:" + content, module);
- List<GenericValue> siteList = ContentWorker.getAssociatedContent(content, "From", UtilMisc.toList("SUBSITE", "PUBLISH_LINK"), null, UtilDateTime.nowTimestamp().toString(), null);
+ List<GenericValue> siteList = ContentWorker.getAssociatedContent(content, "From", UtilMisc.toList("SUBSITE", "PUBLISH_LINK", "SUB_CONTENT"), null, UtilDateTime.nowTimestamp().toString(), null);
if (siteList != null) {
Iterator<GenericValue> iter = siteList.iterator();