9cf83b9d3400d0b2b15989e5b0d7583291c3cc57
hiram
  Thu Aug 28 18:58:20 2025 -0700
eliminate hub prefixe from hOrganism() output refs #36263

diff --git src/hg/hgHubConnect/hgHubConnect.c src/hg/hgHubConnect/hgHubConnect.c
index a372f009176..42ca6fbc177 100644
--- src/hg/hgHubConnect/hgHubConnect.c
+++ src/hg/hgHubConnect/hgHubConnect.c
@@ -1444,31 +1444,31 @@
 hPrintf("<P><B>Contact email:</B> <A HREF=\"mailto:%s\">%s</A>.</B> Use this contact for all data questions.</P>", tHub->email, tHub->email);
 struct trackHubGenome *genomeList = tHub->genomeList;
 
 hPrintf("<P><B>Assemblies:</B> Select an assembly below to starting browsing the tracks of this hub:<P>");
 
 hPrintf("<ul>");
 
 for(; genomeList; genomeList = genomeList->next)
     {
     char *desc = genomeList->description;
     if (desc==NULL)
         desc = hFreezeFromDb(genomeList->name);
 
     char *org = trackHubSkipHubName( genomeList->organism );
     if (org==NULL)
-        org = hOrganism(genomeList->name);
+        org = trackHubSkipHubName(hOrganism(genomeList->name));
 
     hPrintf("<li>Open: <A href=\"../cgi-bin/hgTracks?db=%s&%s&position=lastDbPos\">%s: %s</A></li>",genomeList->name, 
         cartSidUrlString(cart), org, desc);
     }
 hPrintf("</ul>");
 
 hPrintf("<P><A href=\"./hgHubConnect#unlistedHubs\">Connect another hub</A> to add more tracks.</P>");
 
 hPrintf("<P><I>Hubs are created and maintained by external sources. UCSC is not responsible for their content and status.</I></P>");
 
 return 1;
 }
 
 static void doResetHub(struct cart *theCart)
 {