380723ef0dcc0e3ef0c178fdbe0686a6f4cbef2a
tdreszer
  Tue Oct 19 14:55:58 2010 -0700
Fixed number 20 from Katrina's list. Blue bar hotlink form hgTrackUi to 'Genome Browser' had returned to searchTracks if came from there.
diff --git src/hg/lib/web.c src/hg/lib/web.c
index 9f1fa3e..75da1f0 100644
--- src/hg/lib/web.c
+++ src/hg/lib/web.c
@@ -13,6 +13,7 @@
 #include "cheapcgi.h"
 #include "dbDb.h"
 #include "hgColors.h"
+#include "searchTracks.h"
 #ifndef GBROWSE
 #include "axtInfo.h"
 #include "wikiLink.h"
@@ -308,8 +309,8 @@
 	endsWith(scriptName, "hgSession") || endsWith(scriptName, "hgCustom") ||
 	endsWith(scriptName, "hgc") || endsWith(scriptName, "hgPal"))
 	{
-	printf("       <A HREF=\"../cgi-bin/hgTracks?hgTracksConfigPage=notSet%s\" class=\"topbar\">\n",
-	       uiState);
+	printf("       <A HREF=\"../cgi-bin/hgTracks%s&hgTracksConfigPage=notSet&%s=0\" class=\"topbar\">\n",
+	       uiState,searchTracks);
 	puts("           Genome Browser</A> &nbsp;&nbsp;&nbsp;");
 	}
     if (!endsWith(scriptName, "hgBlat"))