754cf0e3c480484878009aa5ce6dd815f1126d0c
chmalee
Fri Mar 6 15:02:34 2026 -0800
most public assembly hubs do not have blat/pcr servers available, so when a public hub has been selected from the 'recents' dropdown in the search bar on those cgis, submit their form so the backend can print a message to page telling the user we don't have blat/pcr availabel for those assemblies, refs #36535
diff --git src/hg/hgBlat/hgBlat.c src/hg/hgBlat/hgBlat.c
index fd83a10746a..0e3084fafc9 100644
--- src/hg/hgBlat/hgBlat.c
+++ src/hg/hgBlat/hgBlat.c
@@ -2093,31 +2093,33 @@
printf("
");
printf("\n");
printf("
\n");
printf("
\n");
// hgBlat requires this be created to go along with form submission, we
// will change it when a genome is selected in the search bar
printf("\n", db);
jsIncludeAutoCompleteLibs();
char *searchBarId = "genomeSearch";
printGenomeSearchBar(searchBarId, "Search any species, genome or assembly name", NULL, TRUE, NULL, NULL);
jsInlineF(
"setupGenomeSearchBar({\n"
" inputId: '%s',\n"
" onSelect: function(item) {\n"
- " document.mainForm.db.value = item.genome;\n"
+ " let db = dbFromRecentItem(item);\n"
+ " document.mainForm.db.value = db;\n"
+ " document.mainForm.submit();\n"
" }\n"
"});\n"
, searchBarId
);
printf("