Closed (fixed)
Project:
Geocoder
Version:
8.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
20 Sep 2018 at 12:30 UTC
Updated:
26 Sep 2019 at 20:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
netsliverComment #3
itamair commentedtnx @netsliver ... will review this asap
Comment #4
nightlife2008 commentedI refactored the provided patch to avoid unnecessary geocoding.
Comment #5
klaasvw commentedThanks all, this is working great.
Note that we had one issue when applying the patch to an existing installation. A PHP notice is thrown for fields that don't have the
skip_not_empty_gpsoption set.The attached patch is a reroll of #4 with an empty check to prevent the notice.
Comment #6
itamair commentedthanks all ...
I reviewed and tested the #5 ... and I had to amend it to make it more general (it regards the target value in general and not only a geofield / coordinates target one). I also changed the element index accordingly and added some comment and better description to user and contributor.
The attached patch wraps the issue feature request and is going to be committed into dev right now.