93504f18ac014caf2aa30b03c8d6c710fecbd2d2
chmalee
Tue Feb 13 17:55:26 2024 -0800
When a hub composite track is selected in the table browser, show the shortlabel of the subtracks in the table dropdown in addition to the subtrack name, since the track name may not be informative, as in the case of the ENCODE DNA track hub, refs 33000
diff --git src/hg/hgTables/mainPage.c src/hg/hgTables/mainPage.c
index 12e1a4e..96e0077 100644
--- src/hg/hgTables/mainPage.c
+++ src/hg/hgTables/mainPage.c
@@ -301,32 +301,47 @@
/* Get currently selected table. If it isn't in our list
* then revert to first in list. */
selTable = cartUsualString(cart, varName, nameList->name);
if (!slNameInListUseCase(nameList, selTable))
selTable = nameList->name;
/* Print out label and drop-down list. */
hPrintf("table: ");
hPrintf("