Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Pagination doesn't get mutated if collection is empty #307

Open
carbontwelve opened this issue May 15, 2018 · 0 comments
Open

Pagination doesn't get mutated if collection is empty #307

carbontwelve opened this issue May 15, 2018 · 0 comments

Comments

@carbontwelve
Copy link
Member

If the list being passed to a Paginator is empty then the $pagination property passed to the view is identical to the config in the files front matter.

It should be an instance of Pagination no matter what, even if it only has an empty items array.

@carbontwelve carbontwelve added this to the 2.0.0 milestone May 15, 2018
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

1 participant