wrong count limit for paged views
This commit is contained in:
parent
3eda7bfd6c
commit
7fa207b8f8
@ -278,7 +278,7 @@
|
|||||||
|
|
||||||
} elseif (($qp->start + $qp->count) > $index_count) {
|
} elseif (($qp->start + $qp->count) > $index_count) {
|
||||||
|
|
||||||
if ($index_count > 0)
|
if ($index_count >= $qp->start)
|
||||||
$qp->count = $index_count - $qp->start;
|
$qp->count = $index_count - $qp->start;
|
||||||
else
|
else
|
||||||
$index_count = $qp->start = $qp->count = 0;
|
$index_count = $qp->start = $qp->count = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user