I had problems with proximity filter criteria. No matter what i tried the proximity distance was always zero. The field with address is stored in a field inside of profile2 of that user.

Problem was that this geofield function for returning latitude and longitude didn't check if chosen source point field is saved in profile2, so the result was automaticlly zero.

I created patch for this issue.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mkrizaj created an issue. See original summary.

mkrizaj’s picture

mkrizaj’s picture

mkrizaj’s picture

Sorry guys.
My first patch was uploaded with wrong indent. Now I am uploading new one with correct drupal coding standars.

mkrizaj’s picture

Status: Active » Needs review