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
This commit is contained in:
@@ -38,8 +38,8 @@ under the License.
|
||||
<b>${uiLabelMap.EcommerceSearchNumber} ${searchOptions_index + 1}</b>
|
||||
</div>
|
||||
<div class="tabletext">
|
||||
<a href="<@ofbizUrl>setCurrentSearchFromHistoryAndSearch?searchHistoryIndex=${searchOptions_index}&clearSearch=N</@ofbizUrl>" class="buttontext">[${uiLabelMap.CommonSearch}]</a>
|
||||
<a href="<@ofbizUrl>setCurrentSearchFromHistory?searchHistoryIndex=${searchOptions_index}</@ofbizUrl>" class="buttontext">[${uiLabelMap.CommonRefine}]</a>
|
||||
<a href="<@ofbizUrl>setCurrentSearchFromHistoryAndSearch?searchHistoryIndex=${searchOptions_index}&clearSearch=N</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonSearch}</a>
|
||||
<a href="<@ofbizUrl>setCurrentSearchFromHistory?searchHistoryIndex=${searchOptions_index}</@ofbizUrl>" class="buttontext">${uiLabelMap.CommonRefine}</a>
|
||||
</div>
|
||||
<#assign constraintStrings = searchOptions.searchGetConstraintStrings(false, delegator, locale)>
|
||||
<#list constraintStrings as constraintString>
|
||||
|
||||
@@ -34,7 +34,9 @@ under the License.
|
||||
<#if category?has_content>
|
||||
<div>
|
||||
<span class="browsecategorytext">- </span>
|
||||
<#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>
|
||||
<a href="<@ofbizUrl>category/~category_id=${categoryId}</@ofbizUrl>" class="browsecategorybutton">${catContentWrappers[category.productCategoryId].get("CATEGORY_NAME")}</a>
|
||||
<#elseif catContentWrappers?exists && catContentWrappers[category.productCategoryId]?exists && catContentWrappers[category.productCategoryId].get("DESCRIPTION")?exists>
|
||||
<a href="<@ofbizUrl>category/~category_id=${categoryId}</@ofbizUrl>" class="browsecategorybutton">${catContentWrappers[category.productCategoryId].get("DESCRIPTION")}</a>
|
||||
<#else>
|
||||
<a href="<@ofbizUrl>category/~category_id=${categoryId}</@ofbizUrl>" class="browsecategorybutton">${category.description?if_exists}</a>
|
||||
|
||||
Reference in New Issue
Block a user