Stuff
This commit is contained in:
parent
59fed4d0a4
commit
24c3b2fbb9
1 changed files with 1 additions and 1 deletions
|
@ -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" => [
|
||||||
|
|
Loading…
Reference in a new issue