File Changes for chmalee
switch to commits view, user indexv497_preview2 to v497_base (2026-04-13 to 2026-04-20) v497
Show details
- src/hg/lib/hgFind.c
- lines changed 33, context: html, text, full: html, text
4450e227ad04fd0176b28b6dffddabc0352a953f Mon Apr 13 14:28:42 2026 -0700
Restore xref term in search result name/description for findSpec
searches with an xrefTable.
Commit 5197ebd63b5 batched the per-xref doQuery into one combined
"or <idField> in (...)" query for performance, but dropped the
id -> xrefTerm mapping: pos->name became the raw id and pos->description
was no longer set for xref matches.
Rebuild the mapping as a hash from xrefList and use it when processing
each row to restore pos->name = xrefTerm and pos->description = "(id)".
The two-query shape is preserved. refs #37345
switch to commits view, user index