4cfe50ad2c533ab2b51e09dd1c50dc422c59223d kent Tue Jan 4 13:21:24 2022 -0800 Only show the number by the merge if not all are being merged diff --git src/hg/lib/tablesTables.c src/hg/lib/tablesTables.c index 244ff46..4965c90 100644 --- src/hg/lib/tablesTables.c +++ src/hg/lib/tablesTables.c @@ -623,33 +623,36 @@ char selfId[256]; createSelfId(varPrefix, fieldName, NULL, selfId, sizeof(selfId)); htmlPrintf(""); htmlPrintf("", returnUrl, varPrefix, op, varPrefix, fieldName, varPrefix, "", varPrefix, selfId); htmlPrintf("%s", op); if (field != NULL && sameString(op, "merge")) { + if (!field->allSelected) + { int selectedFieldCount = facetFieldCountSelected(field); htmlPrintf(" %d", selectedFieldCount); } + } htmlPrintf(""); } /* CLose up facet field label line */ htmlPrintf("
\n"); if (field != NULL) { struct facetVal *val; if (!field->allSelected) // add reset facet link { char *op = "reset"; htmlPrintf("