Support the ongoing development of Laravel.io →
Input Eloquent Views
Last updated 2 years ago.
0

I have noticed that when I run migrations and seeds on an SQLite database vs a MySQL database, pagination works just fine. Even pulling a fresh version of my code from git and migrating into a fresh MySQL database, pagination doesn't work.

0

I'm facing the same issue with a manually created paginator. It always returns first page's data.

0

I've gone through and gotten pagination working fairly trivially simple applications (https://github.com/dydx/laravel-pagination-stuff), and it works with both SQLite and MariaDB/MySQL for that application, but not for the application I started this post about. I can't get pagination to work for that application, even though it is quite literally just a call to App\WorkOrder::paginate(5) and then on my view a call to $work_orders->render().

I see the links, they appear fine. I'm not making a "custom paginator" in any way... it just doesn't work, and I don't understand why.

0

It has to be something with the URL.

local.dev/page?=3

has proper pagination

local.dev/test/?page=3

does not.

Last updated 9 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

dydx dydx Joined 22 Apr 2015

Moderators

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

Your logo here?

Laravel.io

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

© 2024 Laravel.io - All rights reserved.