svn commit: r1851004 - in /ofbiz/ofbiz-plugins/branches/release18.12: ./ ecommerce/template/catalog/CategoryDetail.ftl

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

svn commit: r1851004 - in /ofbiz/ofbiz-plugins/branches/release18.12: ./ ecommerce/template/catalog/CategoryDetail.ftl

Deepak Dixit-5
Author: deepak
Date: Fri Jan 11 06:04:35 2019
New Revision: 1851004

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

Fixed: Page dropdown list on categorydetail page broken
(OFBIZ-10787)
Thanks Sebastian Wachinger for reporting the issue.
Corrected the condition to display pagination options

Modified:
    ofbiz/ofbiz-plugins/branches/release18.12/   (props changed)
    ofbiz/ofbiz-plugins/branches/release18.12/ecommerce/template/catalog/CategoryDetail.ftl

Propchange: ofbiz/ofbiz-plugins/branches/release18.12/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Fri Jan 11 06:04:35 2019
@@ -10,3 +10,4 @@
 /ofbiz/branches/json-integration-refactoring/plugins:1634077-1635900
 /ofbiz/branches/multitenant20100310/plugins:921280-927264
 /ofbiz/branches/release13.07/plugins:1547657
+/ofbiz/ofbiz-plugins/trunk:1851002

Modified: ofbiz/ofbiz-plugins/branches/release18.12/ecommerce/template/catalog/CategoryDetail.ftl
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-plugins/branches/release18.12/ecommerce/template/catalog/CategoryDetail.ftl?rev=1851004&r1=1851003&r2=1851004&view=diff
==============================================================================
--- ofbiz/ofbiz-plugins/branches/release18.12/ecommerce/template/catalog/CategoryDetail.ftl (original)
+++ ofbiz/ofbiz-plugins/branches/release18.12/ecommerce/template/catalog/CategoryDetail.ftl Fri Jan 11 06:04:35 2019
@@ -48,7 +48,7 @@
       <div class="product-prevnext px-2 py-1">
         <select name="pageSelect" onchange="callDocumentByPaginate(this[this.selectedIndex].value);" class="form-control">
           <option value="#">${uiLabelMap.CommonPage} ${viewIndex?int + 1} ${uiLabelMap.CommonOf} ${viewIndexMax}</option>
-          <#if (viewIndex?int > 1)>
+          <#if (viewIndexMax?int > 1)>
             <#list 1..viewIndexMax as curViewNum>
               <option value="${productCategoryId}~${viewSize}~${curViewNum-1?int}">${uiLabelMap.CommonGotoPage} ${curViewNum}</option>
             </#list>