diff --git a/leisure.json b/leisure.json index 58af7a1..d3b6525 100644 --- a/leisure.json +++ b/leisure.json @@ -72,6 +72,58 @@ } }, "emptyQuery": "nwr[\"access\"!=\"private\"]" + }, + "leisure": { + "name": "{{ trans('filter:type') }}", + "type": "select", + "values": "{% set list = [] %}{% for k in const %}{% endfor %}", + "sort": "natsort", + "op": "has" } - } + }, + "const": [ + "adult_gaming_centre", + "amusement_arcade", + "bandstand", + "beach_resort", + "bird_hide", + "bleachers", + "bowling_alley", + "common", + "dance", + "disc_golf_course", + "dog_park", + "escape_game", + "firepit", + "fishing", + "fitness_centre", + "fitness_station", + "garden", + "golf_course", + "hackerspace", + "horse_riding", + "ice_rink", + "indoor_play", + "marina", + "miniature_golf", + "nature_reserve", + "outdoor_seating", + "park", + "picnic_table", + "pitch", + "playground", + "sauna", + "slipway", + "sport", + "sports_cenre", + "sports_hall", + "stadium", + "summer_camp", + "swimming_area", + "swimming_pool", + "track", + "trampoline_park", + "water_park", + "wildlife_hide" + ] }