Steps to reproduce:
1. Set number of series per page to 5.
2. In addition to the 10 ootb series, add 5 more so there is a total of 15
3. Use the Next link in the paging controls to page thru the pages.
When on the third page (which should be the last) the Next link is enabled and when clicked, displays an empty table (see screenshot)
Unable to get to an empty page.
Note that I'm also pretty sure that I saw this behavior prior to adding the extra 5. That is, when displaying 10 series per page, the Next button was enabled when there were exactly 10, and clicking it displayed an empty table.
Happening in 1.4rc
This was committed directly to 1.3.x, but not trunk (and hence is not in 1.4). I'll try doing the merges and hopefully this will fix it.
Ok, so this doesn't merge cleanly to trunk. Resolving the merge conflict with tc and then removing the extra lines makes things mostly work in the sense that it behaves correctly with 10 series, but when you increase that to 11 the second page still has the links enabled. A small change to the third branch in the if statement resolves this for me. Committed to trunk with rev 12963, 1.4.x with rev 12964.
having multiple pages a jump to last goes to page 3 of 2
The patch fixes the go to last page issue correcting a missing -1 in the link
Ah, good catch. Committed to trunk with rev 13053, 1.4.x with rev 13055, 1.3.x with rev 13056.