Skip to content

[5.3] Empty paginator still renders #15124

Closed
@garygreen

Description

@garygreen

An empty paginator still renders just the disabled prev/next links or showing only 1 page, seems a bit strange considering in Laravel 5.2 it output nothing.

Is it suggested we publish and modify the view or wrap all our ->render() calls in an if statement? There's nothing about this mentioned on the upgrade guide so might catch quite a few people out.

image

It also renders when there is only 1 page, which is different from 5.2:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions