Closed (fixed)
Project:
Geolocation Field
Version:
8.x-1.x-dev
Component:
Geolocation field
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Apr 2017 at 01:05 UTC
Updated:
15 May 2017 at 13:59 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
christianadamski commentedCould you lay out the steps to reproduce this on a clean drupal install?
Comment #3
caldenjacobs commentedThe error occurs if the following steps are taken:
Add a geolocation field to a content type.
Create one or more content nodes containing the geolocation field, populated with valid data.
Create a View querying the geolocation field's proximity.
Add a geolocation field:proximity exposed filter to the View, selecting 'Grouped filter'. Populate the exposed filter's Label (cannot be empty), Operator ('Is less than or equal to'), and Value (desired distance limits, i.e. '5', '10', '50') columns.
Attempt to save the View.
Comment #4
christianadamski commentedHave to check later, but that double 'value' in the schema is probably wrong. Should be easy to fix.
Comment #5
christianadamski commentedComment #6
christianadamski commentedIt's actually not simple. Darn.
Comment #7
christianadamski commentedThis patch locally allows for grouped proximity filters against a statically defined center. The exposed form proximity filter requires more work.
Comment #8
christianadamski commentedNext task:
Make ProximityFilter.php -> acceptInput() function smart enough to retrieve values from a grouped filter.
Comment #9
christianadamski commentedHmm, the exposed form is not rendered at all, when the filter is set to grouped input, so that can't work.
Comment #11
christianadamski commentedAdded check to not try to retrieve exposed values when grouped.
Fixed.