Support the ongoing development of Laravel.io →

sykano

Joined 13 Jan 2015

Statistics

Threads 1
Replies 2
Solutions 0
Articles 0
posted 7 years ago

Pagination gives empty set on non existing page number

Pagination gives me an empty set when the page parameter refers to a non existing page (e.g. page=3...

Likes Replies
replied 7 years ago

Pagination gives empty set on non existing page number

~~Even a workaround like this doesn't work:~~ $items = Item::whereNull('field')->paginate(20); if...

0 Likes
replied 7 years ago

Pagination gives empty set on non existing page number

jimgwhit said: Did you search forum for existing paging issues? There are oodles of existing pagina...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.