This commit is contained in:
Kekskurse 2021-02-08 11:10:40 +01:00
parent 59fed4d0a4
commit 24c3b2fbb9

View file

@ -56,7 +56,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" => $limit,
"pages" => ($g->count() / $limit), "pages" => (int)($g->count() / $limit),
"preview" => $preview, "preview" => $preview,
"next" => $next], "next" => $next],
"data" => [ "data" => [