Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Pagination with an offset broken. #3420

thijswhitespace opened this issue Nov 1, 2018 · 0 comments


None yet
1 participant
Copy link

commented Nov 1, 2018


Pagination with an offset produces a pagination with too many pages, as if there was no offset set.

Steps to reproduce

  1. Create a section with 5 entries.
  2. Create a query for the entries, set the limit to 1 and the offset to 3.
  3. Paginate the query. The pagination will show there are 5 total pages. The last 3 pages will not contain an entry.

Additional info

  • Craft version: 3.0.29
  • PHP version: 7.2.8
  • Database driver & version: mysql (5.5.5-10.2.10-MariaDB)
  • Plugins & versions: n/a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.