Browse Source

cycle_amenities: filter 'bicycle rental' includes rental=bicycle and service:bicycle:rental!=no

parent
commit
ee16462bff
  1. 3
      cycle_amenities.json

3
cycle_amenities.json

@ -111,6 +111,7 @@
}, },
"amenity=bicycle_rental": { "amenity=bicycle_rental": {
"sign": "R", "sign": "R",
"filter_query": "(nwr[amenity=bicycle_rental];nwr[rental~\"^(.*;|)bicycle(|;.*)$\"];nwr['service:bicycle:rental']['service:bicycle:rental'!='no'];)",
"priority": 1 "priority": 1
}, },
"man_made=monitoring_station": { "man_made=monitoring_station": {
@ -135,7 +136,7 @@
"name": "{{ trans('filter:type') }}", "name": "{{ trans('filter:type') }}",
"show_default": "true", "show_default": "true",
"type": "select", "type": "select",
"values": "{% for k, v in const %}<option value=\"{{ k }}\" query=\"nwr[{{ k }}]\">{{ tagTrans(k) }}</option>{% endfor %}"
"values": "{% for k, v in const %}<option value=\"{{ k }}\" query=\"{{ v.filter_query ? v.filter_query : 'nwr[{{ k }}]' }}\">{{ tagTrans(k) }}</option>{% endfor %}"
} }
} }
} }
Loading…
Cancel
Save