minor fix to pagination

beta
Ro 4 years ago
parent 043bd25cf7
commit 2b79a52275

@ -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…
Cancel
Save