Skip to content

Commit

Permalink
Add service:vehicle:* multiselect to shop=car and shop=car_repair
Browse files Browse the repository at this point in the history
(closes #3535)
  • Loading branch information
bhousel committed Mar 2, 2017
1 parent 9a9c65c commit 2d961b4
Show file tree
Hide file tree
Showing 7 changed files with 58 additions and 21 deletions.
3 changes: 3 additions & 0 deletions data/presets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1042,6 +1042,9 @@ en:
service/bicycle:
# 'service:bicycle:=*'
label: Services
service/vehicle:
# 'service:vehicle:=*'
label: Services
service_rail:
# service=*
label: Service Type
Expand Down
5 changes: 5 additions & 0 deletions data/presets/fields.json
Original file line number Diff line number Diff line change
Expand Up @@ -1405,6 +1405,11 @@
"type": "multiCombo",
"label": "Services"
},
"service/vehicle": {
"key": "service:vehicle:",
"type": "multiCombo",
"label": "Services"
},
"shelter_type": {
"key": "shelter_type",
"type": "combo",
Expand Down
5 changes: 5 additions & 0 deletions data/presets/fields/service/vehicle.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"key": "service:vehicle:",
"type": "multiCombo",
"label": "Services"
}
57 changes: 38 additions & 19 deletions data/presets/presets.json
Original file line number Diff line number Diff line change
Expand Up @@ -9874,7 +9874,8 @@
"operator",
"address",
"building_area",
"opening_hours"
"opening_hours",
"service/vehicle"
],
"geometry": [
"point",
Expand Down Expand Up @@ -36305,7 +36306,8 @@
"operator",
"address",
"building_area",
"opening_hours"
"opening_hours",
"service/vehicle"
],
"suggestion": true
},
Expand All @@ -36324,7 +36326,8 @@
"operator",
"address",
"building_area",
"opening_hours"
"opening_hours",
"service/vehicle"
],
"suggestion": true
},
Expand All @@ -36343,7 +36346,8 @@
"operator",
"address",
"building_area",
"opening_hours"
"opening_hours",
"service/vehicle"
],
"suggestion": true
},
Expand All @@ -36362,7 +36366,8 @@
"operator",
"address",
"building_area",
"opening_hours"
"opening_hours",
"service/vehicle"
],
"suggestion": true
},
Expand All @@ -36381,7 +36386,8 @@
"operator",
"address",
"building_area",
"opening_hours"
"opening_hours",
"service/vehicle"
],
"suggestion": true
},
Expand All @@ -36400,7 +36406,8 @@
"operator",
"address",
"building_area",
"opening_hours"
"opening_hours",
"service/vehicle"
],
"suggestion": true
},
Expand All @@ -36419,7 +36426,8 @@
"operator",
"address",
"building_area",
"opening_hours"
"opening_hours",
"service/vehicle"
],
"suggestion": true
},
Expand All @@ -36438,7 +36446,8 @@
"operator",
"address",
"building_area",
"opening_hours"
"opening_hours",
"service/vehicle"
],
"suggestion": true
},
Expand All @@ -36457,7 +36466,8 @@
"operator",
"address",
"building_area",
"opening_hours"
"opening_hours",
"service/vehicle"
],
"suggestion": true
},
Expand All @@ -36476,7 +36486,8 @@
"operator",
"address",
"building_area",
"opening_hours"
"opening_hours",
"service/vehicle"
],
"suggestion": true
},
Expand All @@ -36495,7 +36506,8 @@
"operator",
"address",
"building_area",
"opening_hours"
"opening_hours",
"service/vehicle"
],
"suggestion": true
},
Expand All @@ -36514,7 +36526,8 @@
"operator",
"address",
"building_area",
"opening_hours"
"opening_hours",
"service/vehicle"
],
"suggestion": true
},
Expand All @@ -36533,7 +36546,8 @@
"operator",
"address",
"building_area",
"opening_hours"
"opening_hours",
"service/vehicle"
],
"suggestion": true
},
Expand All @@ -36552,7 +36566,8 @@
"operator",
"address",
"building_area",
"opening_hours"
"opening_hours",
"service/vehicle"
],
"suggestion": true
},
Expand All @@ -36571,7 +36586,8 @@
"operator",
"address",
"building_area",
"opening_hours"
"opening_hours",
"service/vehicle"
],
"suggestion": true
},
Expand All @@ -36590,7 +36606,8 @@
"operator",
"address",
"building_area",
"opening_hours"
"opening_hours",
"service/vehicle"
],
"suggestion": true
},
Expand All @@ -36609,7 +36626,8 @@
"operator",
"address",
"building_area",
"opening_hours"
"opening_hours",
"service/vehicle"
],
"suggestion": true
},
Expand All @@ -36628,7 +36646,8 @@
"operator",
"address",
"building_area",
"opening_hours"
"opening_hours",
"service/vehicle"
],
"suggestion": true
},
Expand Down
3 changes: 2 additions & 1 deletion data/presets/presets/shop/car.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"address",
"building_area",
"opening_hours",
"second_hand"
"second_hand",
"service/vehicle"
],
"geometry": [
"point",
Expand Down
3 changes: 2 additions & 1 deletion data/presets/presets/shop/car_repair.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"operator",
"address",
"building_area",
"opening_hours"
"opening_hours",
"service/vehicle"
],
"geometry": [
"point",
Expand Down
3 changes: 3 additions & 0 deletions dist/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -1618,6 +1618,9 @@
"service/bicycle": {
"label": "Services"
},
"service/vehicle": {
"label": "Services"
},
"shelter_type": {
"label": "Type"
},
Expand Down

0 comments on commit 2d961b4

Please sign in to comment.