60fb3562b8ca97c4e215049c9092e01eb6ce70cc kate Mon May 11 16:19:31 2020 -0700 Switch back to listing all tracks in super (not 'other'). Request of MarkD. refs #24948 diff --git src/hg/hgTrackUi/hgTrackUi.c src/hg/hgTrackUi/hgTrackUi.c index 130710c..5f7554a 100644 --- src/hg/hgTrackUi/hgTrackUi.c +++ src/hg/hgTrackUi/hgTrackUi.c @@ -3143,42 +3143,46 @@ if (!end) end = stringIn("

", html); if (end) *end = '\0'; printf("%s", html); printf("

To view the full description, click " "here.\n", hgTrackUiName(), cartSessionVarName(), cartSessionId(cart), chromosome, cgiEncode(tdbParent->track)); jsEndCollapsibleSection(); printf(""); // required by jsCollapsible // collapsed panel for list of other tracks in the supertrack char listTitle[1000]; -safef(listTitle, sizeof listTitle, "Other tracks in this collection (%d)", - slCount(tdbParent->children)-1); +safef(listTitle, sizeof listTitle, "All tracks in this collection (%d)", + slCount(tdbParent->children)); printf(""); // required by jsCollapsible jsBeginCollapsibleSectionFontSize(cart, tdb->track, "superMembers", listTitle, FALSE, "medium"); printf("
"); struct slRef *childRef; tdbRefSortPrioritiesFromCart(cart, &tdbParent->children); for (childRef = tdbParent->children; childRef != NULL; childRef = childRef->next) { struct trackDb *sibTdb = childRef->val; if (sameString(sibTdb->track, tdb->track)) + { + printf("\n", sibTdb->shortLabel); + printf("\n", sibTdb->longLabel); continue; + } printf(""); printf("", tdbIsDownloadsOnly(sibTdb) ? hgFileUiName(): hTrackUiForTrack(sibTdb->track), cartSessionVarName(), cartSessionId(cart), chromosome, cgiEncode(sibTdb->track), sibTdb->shortLabel); printf("\n", sibTdb->longLabel); } printf("
%s%s
%s %s
"); jsEndCollapsibleSection(); printf(""); // required by jsCollapsible printf("

"); } void trackUi(struct trackDb *tdb, struct trackDb *tdbList, struct customTrack *ct, boolean ajax) /* Put up track-specific user interface. */