diff --git a/applications/order/webapp/ordermgr/entry/catalog/categorydetail.ftl b/applications/order/webapp/ordermgr/entry/catalog/categorydetail.ftl index e325b603c7..cde9f8a2e9 100644 --- a/applications/order/webapp/ordermgr/entry/catalog/categorydetail.ftl +++ b/applications/order/webapp/ordermgr/entry/catalog/categorydetail.ftl @@ -19,7 +19,11 @@ under the License. <#macro paginationControls> <#assign viewIndexMax = Static["java.lang.Math"].ceil((listSize - 1)?double / viewSize?double)> - <#if (viewIndexMax?int > 1)> + <#-- if the list size/view size (that is total number of items allowed on the page for this page) + is 0 or 1 then there is only 1 page of items - so display the pagination drop down anyhow + 'cause its cool and people should see it. + --> + <#if (viewIndexMax?int > -1)>
<#-- Start Page Select Drop-Down -->