This commit is contained in:
Kekskurse 2021-02-08 11:10:57 +01:00
parent 24c3b2fbb9
commit 66bc1dd51a

View file

@ -55,7 +55,7 @@ class PublicController extends BaseController
return response()->json(["pagination" => [ return response()->json(["pagination" => [
"total" => $g->count(), "total" => $g->count(),
"items_per_page" => $limit, "items_per_page" => (int)$limit,
"pages" => (int)($g->count() / $limit), "pages" => (int)($g->count() / $limit),
"preview" => $preview, "preview" => $preview,
"next" => $next], "next" => $next],