Closed (fixed)
Project:
Geocoder
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
5 Jun 2012 at 07:30 UTC
Updated:
22 Jun 2012 at 23:21 UTC
I could be missing something, but it doesn't seem necessary to do a geocode request on every entity update. Sometimes, only unrelated fields are updated. This patch to geocoder_field_attach_presave() checks to see if the source field (e.g., addressfield) has changed. If not, perhaps there's no need to send another geocode request.
| Comment | File | Size | Author |
|---|---|---|---|
| geocoder-entity-update-bypass.patch | 1.57 KB | cspiker |
Comments
Comment #1
phayes commentedThis looks good, thank you.
Comment #2
phayes commentedCommitted