From 653a8587e7d5a5bfeb3658ab0da1ae472a82a64d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20B=C3=B6sch-Plepelits?= Date: Wed, 24 Oct 2018 22:16:58 +0200 Subject: [PATCH] memorial: start writing filters --- memorial.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/memorial.json b/memorial.json index 117785c..30cc08c 100644 --- a/memorial.json +++ b/memorial.json @@ -63,5 +63,25 @@ "sign": "", "zoom": 11 } + }, + "filter": { + "type": { + "name": "Type", + "type": "select", + "values": { + "monument": { + "name": "{{ tagTrans('historic', 'monument') }}", + "query": "nwr[historic=monument]" + }, + "memorial": { + "name": "{{ tagTrans('historic', 'memorial') }}", + "query": "nwr[historic=memorial]" + }, + "stolperstein": { + "name": "{{ tagTrans('historic', 'memorial memorial=stolperstein') }}", + "query": "(nwr[memorial=stolperstein];nwr[\"memorial:type\"=stolperstein];)" + } + } + } } }