#238: page 2 shows in pagination window when not adjacent #239

Merged
fen merged 1 commits from fix-238 into dev 2026-09-10 22:42:25 +00:00
Collaborator

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.

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.
fen added 1 commit 2026-09-10 22:29:45 +00:00
#238: drop hardcoded page 2 from pagination window
CI / docker (pull_request) Skipped
CI / test (pull_request) Successful in 44s
b840bffeba
fen merged commit 9490b8d25a into dev 2026-09-10 22:42:25 +00:00
Sign in to join this conversation.