a48e4a31e870414b9ed4a9731bf4ca694e6ff008 chmalee Wed Oct 30 11:36:15 2019 -0700 Fixes to hub searching after code review: Angie noticed that links were broken due to a bug, but it turns out they were broken in a much bigger way as subtrack search hits were not linking out to the right parent tracks. This has been fixed by adding a new column to the hubSearchText table to encode the parent type of the parent tracks (comp, super, etc), and then building the links the correct way, refs #24338 diff --git src/hg/lib/hubSearchText.as src/hg/lib/hubSearchText.as index 2d53100..e734ba2 100644 --- src/hg/lib/hubSearchText.as +++ src/hg/lib/hubSearchText.as @@ -1,11 +1,12 @@ table hubSearchText "Track hub descriptions" ( lstring hubUrl; "Hub URL" string db; "Assembly name (UCSC format) for Assembly and Track descriptions, NULL for hub descriptions" string track; "Track name for track descriptions, NULL for others" string label; "Name to display in search results" - lstring parents; "Comma separated list of parent track of this track, NULL for others" enum ("Short", "Long", "Meta") textLength; "Length of text (short for labels, long for description pages, meta for metadata)" lstring text; "Description text" + lstring parents; "Comma separated list of parent tracks (and their labels) of this track, NULL for others" + lstring parentTypes; "Comma separated list of parent track types" )