Fixed: Page dropdown list on categorydetail page broken

(OFBIZ-10787)
Thanks Sebastian Wachinger for reporting the issue.
Corrected the condition to display pagination options

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-plugins/trunk@1851002 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Deepak Dixit
2019-01-11 05:59:42 +00:00
parent baabf6b25d
commit caae84841f
@@ -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>