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.
When saving an updated node with a geocoded field, the field appears to get re-geocoded no matter what, even if the address field was not changed. This could lead to making unnecessary geocoder API requests to whatever service you're using.
Comment | File | Size | Author |
---|---|---|---|
#1 | geocoder-fix-unnecessary-regeocoding-2420961-1.patch | 698 bytes | mamanerd |
Comments
Comment #1
mamanerd CreditAttribution: mamanerd commentedThe function geocoder_widget_array_recursive_diff() was returning TRUE even if the address field was not changed. I fixed it.
Comment #2
rudiedirkx CreditAttribution: rudiedirkx commentedComment #3
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedno longer seems to apply to the 1/16/16 dev version
Comment #4
rudiedirkx CreditAttribution: rudiedirkx commentedYes, there's no more diff.