The pager window in table.js hardcoded page 2 into the visible set (both filtered and unfiltered branches), so on page 6 of 30 the bar showed 1, 2, 5, 6, 7, 30 even though 2 is neither adjacent to the current page nor an end page. Dropped the hardcoded 2; window is now 1, current±1, last. Ellipsis logic unchanged.
Fix attempt 1. Ref #238
The pager window in table.js hardcoded page 2 into the visible set (both filtered and unfiltered branches), so on page 6 of 30 the bar showed 1, 2, 5, 6, 7, 30 even though 2 is neither adjacent to the current page nor an end page. Dropped the hardcoded 2; window is now 1, current±1, last. Ellipsis logic unchanged.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Fix attempt 1. Ref #238
The pager window in table.js hardcoded page 2 into the visible set (both filtered and unfiltered branches), so on page 6 of 30 the bar showed 1, 2, 5, 6, 7, 30 even though 2 is neither adjacent to the current page nor an end page. Dropped the hardcoded 2; window is now 1, current±1, last. Ellipsis logic unchanged.