Todo · BHG-003
Re-sort surname queries A–Z
Goal
Surname queries on Preview read as one A–Z run. The non-consecutive duplicate at the end is gone.
Source
- 4 September meeting notes — “One non-consecutive surname duplicate still at the end — re-sort alphabetically and scan again.” Consecutive duplicate blocks were already collapsed (300 unique essays). Action: “Re-sort surname queries A–Z and catch the remaining non-consecutive duplicate.”
- 28 August meeting notes — duplicates (Abbott, Bennett, Cherry/Kidd, Gurney/Knaggs, Hinch repeated blocks). Want browse + search, not one infinite static page — that larger UX is BHG-012.
Scope
In scope
- Re-order the surname-query headings/essays into a single A–Z sequence.
- Remove or merge the leftover duplicate that is not sitting next to its pair.
- Keep old anchors working where the 4 Sep collapse already promised that.
Out of scope
- Browse + search UI (BHG-012).
- Origins-of-people / weddings table duplicate rows (28 Aug: already like the old site; not this ticket).
Acceptance criteria
- Headings on the research surname page run A–Z without a restart.
- The non-consecutive duplicate named on 4 September is gone.
- Live on Preview. Real not touched.
Stop and ask
If two essays under the same surname are actually different compiled notes, stop and record both rather than silently dropping one.
Check on Preview
- Surname summary — one A–Z run (A Abbott … Z Zincraft Jones). No leftover Bennett at the end.
- First essay and last essay.
- Old leftover anchor
#BENNETTBENNETTSMarilynAndreshould land on CONNOR and BENNETT/BENNETTS (identical copy collapsed; the span id was kept). - Two different BENNETT essays stay next to each other under B — that is intentional.
Completion notes
Applied 11 September 2026 (scripts/sort_surname_queries.py).
- 294 unique essays, one A–Z run. Summary links rebuilt from the essays.
- Six identical copies (same body text, including the Marilyn Andre Connor/Bennett pair that sat at the end) collapsed onto the kept essay. Old anchors remain as
spanids (e.g.#BENNETTBENNETTSMarilynAndre). - Different compiled notes that share a surname (two BENNETT essays, Neil Brooks vs others) were kept and now sit next to each other. Not dropped.
- Browse + search is still BHG-012.