You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by mb...@apache.org on 2015/05/19 16:28:29 UTC

svn commit: r1680304 - /ofbiz/trunk/applications/product/src/org/ofbiz/product/category/CategoryWorker.java

Author: mbrohl
Date: Tue May 19 14:28:29 2015
New Revision: 1680304

URL: http://svn.apache.org/r1680304
Log:
Applied slightly modified patch from jira issue OFBIZ-6373: CategoryWorker.getRelatedCategoriesRet ignores recursive-flag.

Thanks Sebastian Leitner for reporting the issue and providing the patch.

Modified:
    ofbiz/trunk/applications/product/src/org/ofbiz/product/category/CategoryWorker.java

Modified: ofbiz/trunk/applications/product/src/org/ofbiz/product/category/CategoryWorker.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/src/org/ofbiz/product/category/CategoryWorker.java?rev=1680304&r1=1680303&r2=1680304&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/src/org/ofbiz/product/category/CategoryWorker.java (original)
+++ ofbiz/trunk/applications/product/src/org/ofbiz/product/category/CategoryWorker.java Tue May 19 14:28:29 2015
@@ -136,7 +136,7 @@ public class CategoryWorker {
     public static List<GenericValue> getRelatedCategoriesRet(ServletRequest request, String attributeName, String parentId, boolean limitView, boolean excludeEmpty, boolean recursive) {
       Delegator delegator = (Delegator) request.getAttribute("delegator");
 
-      return getRelatedCategoriesRet(delegator, attributeName, parentId, limitView, excludeEmpty, false);
+      return getRelatedCategoriesRet(delegator, attributeName, parentId, limitView, excludeEmpty, recursive);
     }
 
     public static List<GenericValue> getRelatedCategoriesRet(Delegator delegator, String attributeName, String parentId, boolean limitView, boolean excludeEmpty, boolean recursive) {