Browse Source

tourism_attractions: fix filter queries

master
parent
commit
c96047e292
  1. 5
      tourism_attractions.json

5
tourism_attractions.json

@ -61,11 +61,10 @@
"type": {
"name": "{{ trans('filter:type') }}",
"show_default": "true",
"query": "nwr[{{ value }}]",
"query": "nwr[tourism^{{ value }}]",
"type": "select",
"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