fix pagination bug
This commit is contained in:
parent
09924dc667
commit
e196308fa0
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue