Browse Source

shop: new filter bulk_purchase

shop-bulk_purchase
parent
commit
276ff7f657
  1. 5
      shop.json

5
shop.json

@ -188,6 +188,11 @@
"show_default": "true", "show_default": "true",
"values": "{% set list = [] %}{% for k, v in const.shops %}{% for t in v.types %}<option value=\"{{ t }}\">{% set list = list|merge([ t ]) %}{{ tagTrans('shop', t) }}</option>{% endfor %}{% endfor %}<option value='other' query='nwr[shop][shop!~\"^(|.*;)({{ list|join('|') }})(|;.*)$\"]'>{{ trans('other') }}</option>", "values": "{% set list = [] %}{% for k, v in const.shops %}{% for t in v.types %}<option value=\"{{ t }}\">{% set list = list|merge([ t ]) %}{{ tagTrans('shop', t) }}</option>{% endfor %}{% endfor %}<option value='other' query='nwr[shop][shop!~\"^(|.*;)({{ list|join('|') }})(|;.*)$\"]'>{{ trans('other') }}</option>",
"op": "has" "op": "has"
},
"bulk_purchase": {
"name": "{{ keyTrans('bulk_purchase') }}",
"type": "radio",
"values": "<option value='yes' query='nwr[bulk_purchase][bulk_purchase!=no]'>{{ tagTrans('bulk_purchase', 'yes') }}</option><option value='no' query='(nwr[!bulk_purchase];nwr[bulk_purchase=no];)]'>{{ tagTrans('bulk_purchase', 'no') }}</option>"
} }
} }
} }
Loading…
Cancel
Save