Patch (to be ported)
Project:
Geofield
Version:
7.x-2.0-alpha2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Apr 2013 at 04:06 UTC
Updated:
28 Apr 2013 at 04:06 UTC
The steps to reproduce this issue may be somewhat convoluted but here's the best description I could come up with:
drupal core 7.20
geofield 7.x-2.0-alpha2+7-dev
views 7.x-3.5+42-dev
Created a content view with proximity filter set to less than 10 miles from geofield on entity from url used as source. When adding an exposed filter on another (taxonomy) field, the proximity values were no longer correctly replaced on the query's placeholders.
Traced the problem to an empty array key being evaluated as non empty. The attached patch fixed the issue for our case. It's a single line change so it can be easily applied manually in case the patch does not apply automatically.
To be further tested.
| Comment | File | Size | Author |
|---|---|---|---|
| 0001-Fix-bug-for-geofield_handler_filter.inc_.patch | 1.01 KB | 5t4rdu5t |