Themes: add filters for 'wifi' and 'electricity'

This commit is contained in:
Pieter Vander Vennet 2023-10-01 11:58:11 +02:00
parent cb978b37b5
commit af2c6f4782
2 changed files with 30 additions and 1 deletions

View file

@ -296,7 +296,9 @@
"filter": [
"open_now",
"accepts_cash",
"accepts_cards"
"accepts_cards",
"has_internet",
"has_electricity"
],
"deletion": {
"softDeletionTags": {

View file

@ -272,6 +272,33 @@
"osmTags": "dog=no"
}
]
},
{
"id": "has_internet",
"options": [
{
"question": {
"en": "Offers internet"
},
"osmTags": {
"or": [
"internet_access=wlan",
"internet_access=yes",
"internet_access=wired"
]
}
}
]
},
{"id": "has_electricity",
"options": [
{
"question": {
"en": "Offers electricity"
},
"osmTags": "service:electricity=yes"
}
]
}
]
}