From 7452681b312b45565a53a4cbbc3a05f9cc424bbe Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Thu, 17 Aug 2023 08:14:22 +0200 Subject: [PATCH] Rename forgotten DataLayer.openFilter to DataLayer.openFacet --- umap/static/umap/js/umap.controls.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/umap/static/umap/js/umap.controls.js b/umap/static/umap/js/umap.controls.js index dd7bb20a..7595b710 100644 --- a/umap/static/umap/js/umap.controls.js +++ b/umap/static/umap/js/umap.controls.js @@ -934,7 +934,7 @@ L.U.Map.include({ L.DomUtil.create('i', 'umap-icon-16 umap-add', filter) const labelFilter = L.DomUtil.create('span', '', filter) labelFilter.textContent = labelFilter.title = L._('Facet search') - L.DomEvent.on(filter, 'click', this.openFilter, this) + L.DomEvent.on(filter, 'click', this.openFacet, this) actions.push(filter) } this.ui.openPanel({ data: { html: container }, actions: actions })