diff --git a/umap/static/umap/js/modules/facets.js b/umap/static/umap/js/modules/facets.js index c1ecf5b7..461a8ec3 100644 --- a/umap/static/umap/js/modules/facets.js +++ b/umap/static/umap/js/modules/facets.js @@ -70,21 +70,6 @@ export default class Facets { const names = Object.keys(defined) const facetProperties = this.compute(names, defined) - const filterFeatures = function () { - let found = false - this.map.eachBrowsableDataLayer((datalayer) => { - datalayer.resetLayer(true) - if (datalayer.hasDataVisible()) found = true - }) - // TODO: display a results counter in the panel instead. - if (!found) { - this.map.ui.alert({ - content: translate('No results for these facets'), - level: 'info', - }) - } - } - const fields = names.map((name) => { let criteria = facetProperties[name] let handler = 'FacetSearchChoices'