Get basic concept of pagination working on NestsContainer.tsx
This commit is contained in:
parent
b17bb7c24b
commit
052a6d4ce5
6 changed files with 280 additions and 160 deletions
|
@ -37,7 +37,7 @@ class NestController extends ApplicationApiController
|
|||
*/
|
||||
public function index(GetNestsRequest $request): array
|
||||
{
|
||||
$nests = $this->repository->paginated(50);
|
||||
$nests = $this->repository->paginated(2);
|
||||
|
||||
return $this->fractal->collection($nests)
|
||||
->transformWith($this->getTransformer(NestTransformer::class))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue