From 7be60705f8a95d692b279f807a0742072833701b Mon Sep 17 00:00:00 2001 From: Sebastian Gutzeit Date: Wed, 28 Feb 2024 12:59:26 +0100 Subject: [PATCH] App Datenmanagement: Fix Kartenfilter --- datenmanagement/static/datenmanagement/js/customMapFilters.js | 3 ++- datenmanagement/templates/datenmanagement/map.html | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/datenmanagement/static/datenmanagement/js/customMapFilters.js b/datenmanagement/static/datenmanagement/js/customMapFilters.js index 33a43f86..d93d01cb 100644 --- a/datenmanagement/static/datenmanagement/js/customMapFilters.js +++ b/datenmanagement/static/datenmanagement/js/customMapFilters.js @@ -26,7 +26,8 @@ function customMapFilters(filterId) { // add filter objects to defined list with filter objects filterList.push(createFilter('beginn', 'date', 'right', 'positive', currentDate)); filterList.push(createFilter('ende', 'date', 'left', 'positive', currentDate)); - filterList.push(createFilter('status', 'list', 'both', 'negative', 'im Bau (P8)')); + filterList.push(createFilter('status', 'list', 'both', 'negative', 'im Bau (LP8)')); + filterList.push(createFilter('status', 'list', 'both', 'negative', 'abgeschlossen')); break; } diff --git a/datenmanagement/templates/datenmanagement/map.html b/datenmanagement/templates/datenmanagement/map.html index 7f6cefda..49d5bff8 100644 --- a/datenmanagement/templates/datenmanagement/map.html +++ b/datenmanagement/templates/datenmanagement/map.html @@ -80,7 +80,7 @@
Ein-Klick-Filter
{% if model_name == 'Baustellen_geplant' %} - + {% endif %}