Closed
Bug 1743523
Opened 2 years ago
Closed 2 years ago
Pagination links shows less buttons for the last pages
Categories
(Tree Management :: Perfherder, enhancement)
Tree Management
Perfherder
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: arai, Assigned: arai)
Details
Attachments
(1 file)
Steps to reproduce:
- go to https://treeherder.mozilla.org/perfherder/compare?originalProject=try&originalRevision=8b868de0bb21d8d3b69d5e51ff3911fbfd1b03bd&newProject=try&newRevision=b9b9b261915ac099d1bbb38ed3e4f6cb6fad59e9&framework=13&page=1
- click "»" in the pagination
- click "‹" in the pagination
- click "‹" in the pagination
- click "‹" in the pagination
- click "‹" in the pagination
- click "‹" in the pagination
Actual result:
Pagination shows:
- "1 2 3 4 5 › »"
- "« ‹ 66"
- "« ‹ 65 66 ›"
- "« ‹ 64 65 66 ›"
- "« ‹ 63 64 65 66 ›"
- "« ‹ 62 63 64 65 66 ›"
- "« ‹ 61 62 63 64 65 › »"
Expected result:
Pagination shows:
- "1 2 3 4 5 › »"
- "« ‹ 62 63 64 65 66"
- "« ‹ 62 63 64 65 66 ›"
- "« ‹ 62 63 64 65 66 ›"
- "« ‹ 62 63 64 65 66 ›"
- "« ‹ 62 63 64 65 66 ›"
- "« ‹ 61 62 63 64 65 › »"
I guess this is by design that the first button becomes the current page, but it would be better always showing 5 buttons if there are 5+ pages.
also related to bug 1743520 to make the buttons' position consistent
Assignee | ||
Comment 1•2 years ago
|
||
Assignee: nobody → arai.unmht
Assignee | ||
Comment 2•2 years ago
|
||
actually, the "Expected result" matches the behavior when there's 5 or less pages.
The issue happens only when there's 6+ pages.
Comment 3•2 years ago
|
||
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•