Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If you use an addressfield for location, the generated address has the country code instead of the full country name.
For instance, given the following address:
John Doe
Sample Street 100
12345 Mycity
Germany
the generated location looks like:
LOCATION:John Doe\, 100\, Sample Street\, 12345\, DE
expected format would be:
LOCATION:John Doe\, 100\, Sample Street\, 12345\, Germany
I've created a small patch for that, please review.
Comment | File | Size | Author |
---|---|---|---|
#2 | addressfield-country-code-instead-country-name-2564909-2.patch | 888 bytes | Elin Yordanov |
Comments
Comment #2
Elin Yordanov CreditAttribution: Elin Yordanov commentedHere's the patch.
Comment #3
Elin Yordanov CreditAttribution: Elin Yordanov commentedComment #4
coredumperror CreditAttribution: coredumperror commentedAh, nice! I didn't even realize that was happening. Thanks for the patch.
Comment #6
coredumperror CreditAttribution: coredumperror commented