8ff3b1dca5e9e0bb4f8670f5bca2dd9c0e2a4527 braney Tue May 7 10:55:47 2019 -0700 use the little blue arrow to hide/unhide the advanced filter controls diff --git src/hg/lib/hui.c src/hg/lib/hui.c index 6915cde..0bf5145 100644 --- src/hg/lib/hui.c +++ src/hg/lib/hui.c @@ -3942,34 +3942,34 @@ filterBy_t *filterBySet, boolean onOneLine, char *filterTypeTitle, char *selectIdPrefix, char *allLabel, char *prefix) // Does the UI for a list of filterBy structure for either filterBy or highlightBy controls { if (filterBySet == NULL) return; #define FILTERBY_HELP_LINK "help" int count = slCount(filterBySet); if (count == 1) puts(""); else printf("%s items by: (select multiple categories and items - %s)" "
\n",filterTypeTitle,FILTERBY_HELP_LINK); -printf(" Advanced options"); char varName[1024]; safef(varName, sizeof(varName), "%s.doAdvanced", tdb->track); -cgiMakeCheckBox(varName, FALSE); +puts("   "); +printf("%s" ,varName,"Advanced "); printf("
"); jsInlineF("$(function () { advancedSearchOnChange('%s'); });\n", varName); filterBy_t *filterBy = NULL; if (cartOptionalString(cart, "ajax") == NULL) { webIncludeResourceFile("ui.dropdownchecklist.css"); jsIncludeFile("ui.dropdownchecklist.js",NULL); jsIncludeFile("ddcl.js",NULL); } int ix=0; for(filterBy = filterBySet;filterBy != NULL; filterBy = filterBy->next, ix++) {