From 26528d60c19a014fa59fd0b390c55444ed867231 Mon Sep 17 00:00:00 2001 From: "David E. Jones" Date: Fri, 9 Feb 2007 02:07:02 +0000 Subject: [PATCH] Fixed issue where the categoryName was not being used, ie just the description was shown (or not shown if it wasn't there, as the seed is git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@505134 13f79535-47bb-0310-9956-ffa450edef68 --- .../webapp/ecommerce/catalog/minilastproductsearches.ftl | 4 ++-- .../webapp/ecommerce/catalog/minilastviewedcategories.ftl | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/applications/ecommerce/webapp/ecommerce/catalog/minilastproductsearches.ftl b/applications/ecommerce/webapp/ecommerce/catalog/minilastproductsearches.ftl index d5336f9c62..c0b224e281 100644 --- a/applications/ecommerce/webapp/ecommerce/catalog/minilastproductsearches.ftl +++ b/applications/ecommerce/webapp/ecommerce/catalog/minilastproductsearches.ftl @@ -38,8 +38,8 @@ under the License. ${uiLabelMap.EcommerceSearchNumber} ${searchOptions_index + 1}
- [${uiLabelMap.CommonSearch}] - [${uiLabelMap.CommonRefine}] + ${uiLabelMap.CommonSearch} + ${uiLabelMap.CommonRefine}
<#assign constraintStrings = searchOptions.searchGetConstraintStrings(false, delegator, locale)> <#list constraintStrings as constraintString> diff --git a/applications/ecommerce/webapp/ecommerce/catalog/minilastviewedcategories.ftl b/applications/ecommerce/webapp/ecommerce/catalog/minilastviewedcategories.ftl index 75fade736e..9d13c5bba8 100644 --- a/applications/ecommerce/webapp/ecommerce/catalog/minilastviewedcategories.ftl +++ b/applications/ecommerce/webapp/ecommerce/catalog/minilastviewedcategories.ftl @@ -34,7 +34,9 @@ under the License. <#if category?has_content>
-  - <#if catContentWrappers?exists && catContentWrappers[category.productCategoryId]?exists && catContentWrappers[category.productCategoryId].get("DESCRIPTION")?exists> + <#if catContentWrappers?exists && catContentWrappers[category.productCategoryId]?exists && catContentWrappers[category.productCategoryId].get("CATEGORY_NAME")?exists> + ${catContentWrappers[category.productCategoryId].get("CATEGORY_NAME")} + <#elseif catContentWrappers?exists && catContentWrappers[category.productCategoryId]?exists && catContentWrappers[category.productCategoryId].get("DESCRIPTION")?exists> ${catContentWrappers[category.productCategoryId].get("DESCRIPTION")} <#else> ${category.description?if_exists}