minor fix to pagination

This commit is contained in:
Ro 2021-04-14 15:08:09 -07:00
parent 043bd25cf7
commit 2b79a52275

View file

@ -218,7 +218,7 @@ class Book
$filtered = $content;
break;
}
$numOfPages = ceil(count($filtered) / $limit);
$numOfPages = ceil(count($filtered) / ($limit + 1));
$folder = [];
if (count($filtered) != 0) {