|
|
|
@ -63,6 +63,10 @@ class Book
|
|
|
|
|
$limit = count($filtered) - 1;
|
|
|
|
|
}
|
|
|
|
|
$range = $page * $limit - $limit;
|
|
|
|
|
|
|
|
|
|
if ($range != 0) {
|
|
|
|
|
$range = $range + 1;
|
|
|
|
|
}
|
|
|
|
|
for ($i = 0; $i <= $limit; $i++) {
|
|
|
|
|
if (isset($filtered[$i + $range])) {
|
|
|
|
|
array_push($folder, $filtered[$i + $range]);
|
|
|
|
|