Skip to content

Commit

Permalink
App Datenmanagement: Fix Kartenfilter
Browse files Browse the repository at this point in the history
  • Loading branch information
gdmhrogut committed Feb 28, 2024
1 parent c1a21b4 commit 7be6070
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
2 changes: 1 addition & 1 deletion datenmanagement/templates/datenmanagement/map.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ <h6>Ein-Klick-Filter</h6>
<div id="filter-one-click" class="btn-group-vertical">
{% if model_name == 'Baustellen_geplant' %}
<button id="baustellen-geplant-ende-nicht-abgeschlossen" class="filter-one-click-button btn btn-outline-success"><i class="fas fa-gears"></i> beendet, aber Status != abgeschlossen</button>
<button id="baustellen-geplant-beginn-nicht-imbau" class="filter-one-click-button btn btn-outline-success"><i class="fas fa-gears"></i> begonnen (nicht beendet), aber Status != im Bau (LP8)</button>
<button id="baustellen-geplant-beginn-nicht-imbau" class="filter-one-click-button btn btn-outline-success"><i class="fas fa-gears"></i> begonnen (nicht beendet), aber Status != im Bau (LP8) und Status != abgeschlossen</button>
{% endif %}
</div>
<hr>
Expand Down

0 comments on commit 7be6070

Please sign in to comment.