fix pagination bug

This commit is contained in:
Akinwale Ariwodola 2017-06-16 18:26:11 +01:00
parent 09924dc667
commit e196308fa0

View file

@ -210,7 +210,7 @@
<?php if ($numTransactions > 0):
$start = $numPages > 1 ? 1 : 0;
$end = $numPages > 1 ? 10 : 0;
$end = $numPages > 1 ? min($numPages, 10) : 0;
// use currentPage as the starting point
if ($numPages > 10) {
if ($currentPage > 5) {