Browse Source

tourism_attractions: fix filter queries

parking-lanes
parent
commit
c96047e292
  1. 5
      tourism_attractions.json

5
tourism_attractions.json

@ -61,11 +61,10 @@
"type": { "type": {
"name": "{{ trans('filter:type') }}", "name": "{{ trans('filter:type') }}",
"show_default": "true", "show_default": "true",
"query": "nwr[{{ value }}]",
"query": "nwr[tourism^{{ value }}]",
"type": "select", "type": "select",
"key": "tourism", "key": "tourism",
"values": "{% set list = [] %}{% for t, v in const %}<option value=\"{{ t }}\">{% set list = list|merge([ t ]) %}{{ tagTrans('tourism', t) }}</option>{% endfor %}",
"op": "has"
"values": "{% set list = [] %}{% for t, v in const %}<option value=\"{{ t }}\">{% set list = list|merge([ t ]) %}{{ tagTrans('tourism', t) }}</option>{% endfor %}"
} }
} }
} }
Loading…
Cancel
Save