We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb22ddb commit c8196b1Copy full SHA for c8196b1
src/Repositories/Repository.php
@@ -558,14 +558,6 @@ public function index(RestifyRequest $request)
558
return $repository->authorizedToShow($request);
559
})->values();
560
561
- $paginator = Container::getInstance()->makeWith(LengthAwarePaginator::class, [
562
- 'items' => $items,
563
- 'total' => $items->count(),
564
- 'perPage' => $paginator->perPage(),
565
- 'currentPage' => $paginator->currentPage(),
566
- 'options' => $paginator->getOptions(),
567
- ]);
568
-
569
return response()->json(
570
$this->filter([
571
'meta' => $this->when(
0 commit comments