forked from projects/fipamo
minor fix to pagination
This commit is contained in:
parent
043bd25cf7
commit
2b79a52275
1 changed files with 1 additions and 1 deletions
|
@ -218,7 +218,7 @@ class Book
|
||||||
$filtered = $content;
|
$filtered = $content;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
$numOfPages = ceil(count($filtered) / $limit);
|
$numOfPages = ceil(count($filtered) / ($limit + 1));
|
||||||
$folder = [];
|
$folder = [];
|
||||||
|
|
||||||
if (count($filtered) != 0) {
|
if (count($filtered) != 0) {
|
||||||
|
|
Loading…
Reference in a new issue