Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Clicking last page in pagination reverts to first page #18
I added that in as part of fixing #7 as if the page number exceeded the length of the list, it through one of those 'content changed after view render' errors... which are harmless...ish but unsightly in dev.
I suspect this is just one of those good-old off-by-one errors.
Would you mind changing it to