[frontend] Remove empty facet values from the inline autocomplete
@@ -386,9 +386,11 @@ from desktop.views import _ko
if (matchedFacets[value] !== -1) {
label += ' (' + matchedFacets[value] + ')';
}
+ if (matchedFacets[value] !== 0) {
facetSuggestions.push({ label: label, value: fullValue });
newSuggestions.push(fullValue);
}
+ }
});
}
}
