You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2012/03/10 10:38:58 UTC
svn commit: r1299171 -
/ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/sidedeepcategory.ftl
Author: jleroux
Date: Sat Mar 10 09:38:58 2012
New Revision: 1299171
URL: http://svn.apache.org/viewvc?rev=1299171&view=rev
Log:
Commenting this whole block, it does not make sense to me and prevent to prevents to show products of a sub-category, just try:
https://demo-trunk.ofbiz.apache.org/ordermgr/control/category?category_id=202/~pcategory=200
I kept the same in product component: the screen does not seems to be used anymore
Modified:
ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/sidedeepcategory.ftl
Modified: ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/sidedeepcategory.ftl
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/sidedeepcategory.ftl?rev=1299171&r1=1299170&r2=1299171&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/sidedeepcategory.ftl (original)
+++ ofbiz/trunk/applications/order/webapp/ordermgr/entry/catalog/sidedeepcategory.ftl Sat Mar 10 09:38:58 2012
@@ -22,9 +22,10 @@ under the License.
<#-- looping macro -->
<#macro categoryList parentCategory category>
- <#if parentCategory.productCategoryId != category.productCategoryId>
+ <#-- jleroux: This whole block does not make sense to me -->
+ <#--if parentCategory.productCategoryId != category.productCategoryId>
<#local pStr = "/~pcategory=" + parentCategory.productCategoryId>
- </#if>
+ </#if-->
<#if curCategoryId?exists && curCategoryId == category.productCategoryId>
<div class="browsecategorytext">
<#if catContentWrappers?exists && catContentWrappers[category.productCategoryId]?exists && catContentWrappers[category.productCategoryId].get("CATEGORY_NAME")?has_content>