You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by de...@apache.org on 2019/01/11 06:08:49 UTC

svn commit: r1851007 - in /ofbiz/ofbiz-framework/branches/release18.12: ./ applications/order/template/entry/catalog/CategoryDetail.ftl

Author: deepak
Date: Fri Jan 11 06:08:48 2019
New Revision: 1851007

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

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

Modified:
    ofbiz/ofbiz-framework/branches/release18.12/   (props changed)
    ofbiz/ofbiz-framework/branches/release18.12/applications/order/template/entry/catalog/CategoryDetail.ftl

Propchange: ofbiz/ofbiz-framework/branches/release18.12/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Fri Jan 11 06:08:48 2019
@@ -10,4 +10,4 @@
 /ofbiz/branches/json-integration-refactoring:1634077-1635900
 /ofbiz/branches/multitenant20100310:921280-927264
 /ofbiz/branches/release13.07:1547657
-/ofbiz/ofbiz-framework/trunk:1850015,1850023,1850530,1850647,1850685,1850694,1850711,1850918,1850921,1850948,1850953
+/ofbiz/ofbiz-framework/trunk:1850015,1850023,1850530,1850647,1850685,1850694,1850711,1850918,1850921,1850948,1850953,1851006

Modified: ofbiz/ofbiz-framework/branches/release18.12/applications/order/template/entry/catalog/CategoryDetail.ftl
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/branches/release18.12/applications/order/template/entry/catalog/CategoryDetail.ftl?rev=1851007&r1=1851006&r2=1851007&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/branches/release18.12/applications/order/template/entry/catalog/CategoryDetail.ftl (original)
+++ ofbiz/ofbiz-framework/branches/release18.12/applications/order/template/entry/catalog/CategoryDetail.ftl Fri Jan 11 06:08:48 2019
@@ -46,7 +46,7 @@ under the License.
         <div class="product-prevnext">
             <select name="pageSelect" onchange="callDocumentByPaginate(this[this.selectedIndex].value);">
                 <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>