Skip to content

Pagination not works on Laravel 5.8 #213

@ascweb

Description

@ascweb

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions