From 0d1f9ad48c97085e3f8c2ae74d45985ffd1d40aa Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Tue, 14 Jun 2022 18:06:07 +0200 Subject: [PATCH] Remove 'not:addr:' tags if the freeform key is chosen --- assets/themes/uk_addresses/uk_addresses.json | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/assets/themes/uk_addresses/uk_addresses.json b/assets/themes/uk_addresses/uk_addresses.json index 11258b593..fef120f26 100644 --- a/assets/themes/uk_addresses/uk_addresses.json +++ b/assets/themes/uk_addresses/uk_addresses.json @@ -261,7 +261,8 @@ "en": "What is the sub-unit for this address?
Some named building or large complexes are split into sub-units (e.g. \"1\", \"Flat 2\", \"Unit C\")
" }, "freeform": { - "key": "addr:unit" + "key": "addr:unit", + "addExtraTags": ["not:addr:unit="] }, "mappings": [ { @@ -390,7 +391,8 @@ "freeform": { "key": "addr:substreet", "addExtraTags": [ - "addr:street=" + "addr:street=", + "not:addr:substreet=" ] }, "mappings": [ @@ -469,7 +471,8 @@ "en": "What is the parent street name for this address?
This street name will appear after the place name or first street name in the address
" }, "freeform": { - "key": "addr:parentstreet" + "key": "addr:parentstreet", + "addExtraTags": ["not:addr:parentstreet="] }, "mappings": [ {