Small fixes, add filters to shops

This commit is contained in:
Pieter Vander Vennet 2022-04-04 05:12:14 +02:00
parent b119e1ac1d
commit df706d2f97
4 changed files with 33 additions and 3 deletions

View file

@ -408,5 +408,33 @@
"render": "8"
}
}
],
"filter": [
{
"id": "shop-type",
"options": [{
"fields": [{
"name": "search",
"type": "string"
}],
"osmTags": "shop~^.*{search}.*$",
"question": {
"en": "Only show shops selling {search}"
}
}
]
},
{
"id": "shop-name",
"options": [{
"fields": [{
"name": "search",
"type": "string"
}],
"osmTags": "name~^.*{search}.*$",
"question": {
"en": "Only show shops with name {search}"
}
}]}
]
}