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 "<A HREF=\"../goldenPath/help/multiView.html\" TARGET=ucscHelp>help</A>"
 int count = slCount(filterBySet);
 if (count == 1)
     puts("<TABLE cellpadding=3><TR valign='top'>");
 else
     printf("<B>%s items by:</B> (select multiple categories and items - %s)"
 	   "<TABLE cellpadding=3><TR valign='top'>\n",filterTypeTitle,FILTERBY_HELP_LINK);
 
-printf("<B>    Advanced options</B>");
 char varName[1024];
 safef(varName, sizeof(varName), "%s.doAdvanced", tdb->track);
-cgiMakeCheckBox(varName, FALSE);
+puts("&nbsp;&nbsp;&nbsp;");
+printf("<A id='%s' title='Show advanced options..'>%s<img src='../images/downBlue.png'/></A>" ,varName,"Advanced ");
 printf("<BR>");
 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++)
     {