Affects Version/s: 7.0.X, Master
Component/s: ~[Archived] UI Taglibs
LPS-78438 included a change here:
which checks only the initial page in avoiding showing the list of pages that do not exist.
This ticket was created in response to fix the other edge case of avoiding showing non-existing pages on the last page.
When using the ellipsis to shortcut pagination results, it displays an incorrect amount of available pages.
Steps to reproduce:
Gist: Create enough web content to generate several different pages with an ellipsis shortcut.
1) Create 26 Web Content Articles
2) Change the entries per page to 5 entries.
3) Click on the ellipsis in the page selector when you are on page 1. Check everything is fine as this part was fixed by
4) Go to last page (in this case, page 6); click on the ellipses in the page selector when you are on the last page.
There should only be 4-5 as options.
Multiple pages from 4-19 are available to be selected.