Browse Source

sport: filter 'sport' accepts multi values

master
parent
commit
8a1960a535
  1. 1
      sport.json

1
sport.json

@ -74,6 +74,7 @@
"name": "{{ keyTrans('sport') }}", "name": "{{ keyTrans('sport') }}",
"type": "select", "type": "select",
"show_default": "true", "show_default": "true",
"op": "has",
"values": "{% set list = [] %}{% for t, v in const %}<option value=\"{{ t }}\">{% set list = list|merge([ t ]) %}{{ tagTrans('sport', t) }}</option>{% endfor %}<option value='other' query='nwr[sport][sport!~\"^({{ list|join('|') }})$\"]'>{{ trans('other') }}</option>" "values": "{% set list = [] %}{% for t, v in const %}<option value=\"{{ t }}\">{% set list = list|merge([ t ]) %}{{ tagTrans('sport', t) }}</option>{% endfor %}<option value='other' query='nwr[sport][sport!~\"^({{ list|join('|') }})$\"]'>{{ trans('other') }}</option>"
} }
} }

Loading…
Cancel
Save