-
-
Notifications
You must be signed in to change notification settings - Fork 183
Closed
Description
I'm new on Laravel and I'm getting trouble using pagination to show the inbox messages.
In my Controller I have:
$paginator = $oFolder->query()->paginate($limit, $current, $page_name);
In view:
{{$paginator->links()}}
I've tried to fix the #212 but I still continue to not having the pagination properly. I think the issue is in total items returned.
If I force using a custom value in the $total = $this->count() in PaginateCollection.php it works ( I see the pagination index) but it seems the value passed is not the total incoming messages but only the "limit" in page.
Is this a my error or Laravel 5.8 ?
Thanks