Skip to content

Commit

Permalink
Merge pull request whitecube#73 from adeweb-be/master
Browse files Browse the repository at this point in the history
Fixed whitecube#63 - NaN-NaN in Nova pagination
  • Loading branch information
toonvandenbos authored Oct 18, 2020
2 parents 8e110fd + 4845ce9 commit b1264c3
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 b1264c3

Please sign in to comment.