svn commit: r611377 - /ofbiz/branches/release4.0/applications/product/src/org/ofbiz/product/category/CategoryWorker.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r611377 - /ofbiz/branches/release4.0/applications/product/src/org/ofbiz/product/category/CategoryWorker.java

jleroux@apache.org
Author: jleroux
Date: Fri Jan 11 23:03:05 2008
New Revision: 611377

URL: http://svn.apache.org/viewvc?rev=611377&view=rev
Log:
Applied fix from trunk for revision: 611372

Modified:
    ofbiz/branches/release4.0/applications/product/src/org/ofbiz/product/category/CategoryWorker.java

Modified: ofbiz/branches/release4.0/applications/product/src/org/ofbiz/product/category/CategoryWorker.java
URL: http://svn.apache.org/viewvc/ofbiz/branches/release4.0/applications/product/src/org/ofbiz/product/category/CategoryWorker.java?rev=611377&r1=611376&r2=611377&view=diff
==============================================================================
--- ofbiz/branches/release4.0/applications/product/src/org/ofbiz/product/category/CategoryWorker.java (original)
+++ ofbiz/branches/release4.0/applications/product/src/org/ofbiz/product/category/CategoryWorker.java Fri Jan 11 23:03:05 2008
@@ -192,9 +192,11 @@
                         if (!isCategoryEmpty(cv)) {
                             //Debug.log("Child : " + cv.getString("productCategoryId") + " is not empty.", module);
                             categories.add(cv);
+                            categories.addAll(getRelatedCategoriesRet(request, attributeName, cv.getString("productCategoryId"), limitView, excludeEmpty));
                         }
                     } else {
                         categories.add(cv);
+                        categories.addAll(getRelatedCategoriesRet(request, attributeName, cv.getString("productCategoryId"), limitView, excludeEmpty));
                     }
                 }
             }