Skip to content

Commit

Permalink
Fixed whitecube#63 - NaN-NaN in Nova pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
duchenean committed Oct 17, 2020
1 parent 8e110fd commit 4845ce9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Http/Controllers/ResourceIndexController.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ public function handle(ResourceIndexRequest $request, Manager $manager)
'resources' => $paginator->getCollection()->values()->map->serializeForIndex($request),
'prev_page_url' => $paginator->previousPageUrl(),
'next_page_url' => $paginator->nextPageUrl(),
'per_page' => $paginator->perPage(),
'softDeletes' => null,
]);
}
Expand Down

0 comments on commit 4845ce9

Please sign in to comment.