Fixed "View All" on pagination: 9999999999 is greater than PHP_INT_MAX !

This commit is contained in:
Franck Allimant
2014-02-04 13:04:36 +01:00
parent 6f6db888d6
commit ec4a9a2ab7
2 changed files with 2 additions and 2 deletions

View File

@@ -46,7 +46,7 @@
<option value="{url path={navigate to="current"} limit="8"}" {if $limit==8}selected{/if}>8</option>
<option value="{url path={navigate to="current"} limit="12"}" {if $limit==12}selected{/if}>12</option>
<option value="{url path={navigate to="current"} limit="50"}"{if $limit==50}selected{/if}>50</option>
<option value="{url path={navigate to="current"} limit="9999999999"}" {if $limit==9999999999}selected{/if}>All</option>
<option value="{url path={navigate to="current"} limit="100000"}" {if $limit==100000}selected{/if}>All</option>
</select>
<span class="per-page">{intl l="per page"}</span>
</span><!-- /.limiter -->

View File

@@ -10,7 +10,7 @@
<option value="{url path={navigate to="current"} limit="8"}" {if $limit==8}selected{/if}>8</option>
<option value="{url path={navigate to="current"} limit="12"}" {if $limit==12}selected{/if}>12</option>
<option value="{url path={navigate to="current"} limit="50"}"{if $limit==50}selected{/if}>50</option>
<option value="{url path={navigate to="current"} limit="9999999999"}" {if $limit==9999999999}selected{/if}>All</option>
<option value="{url path={navigate to="current"} limit="100000"}" {if $limit==100000}selected{/if}>All</option>
</select>
<span class="per-page">{intl l="per page"}</span>
</span><!-- /.limiter -->