1eaedcf685289f4cddd2f7c1206e8fb2d90ce0bf
braney
Mon May 6 17:22:43 2019 -0700
allow users to turn on or off advanced controls in filters
diff --git src/hg/lib/hui.c src/hg/lib/hui.c
index 71f92cd..1ad43a8 100644
--- src/hg/lib/hui.c
+++ src/hg/lib/hui.c
@@ -3942,30 +3942,38 @@
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("
Match if ");
cgiMakeRadioButton(cartSettingString, FILTERBY_MULTIPLE_LIST_AND, sameString(setting, FILTERBY_MULTIPLE_LIST_AND));
printf(" all ");
cgiMakeRadioButton(cartSettingString, FILTERBY_MULTIPLE_LIST_OR, sameString(setting, FILTERBY_MULTIPLE_LIST_OR));
- printf(" one or more match ");
+ printf(" one or more match
");
}
// TODO: columnCount (Number of filterBoxes per row) should be configurable through tdb setting
// value is always "All", even if label is different, to simplify javascript code
int valIx = 0;
if (isMultiple)
{
printf( "