Closed (fixed)
Project:
Location
Version:
7.x-3.x-dev
Component:
Location_views
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Feb 2011 at 16:31 UTC
Updated:
5 Mar 2011 at 16:21 UTC
Guys,
I was trying to setup a Views exposed filter using the distance/proximity filter. I was prompted with the following error.
Undefined index: user_location_choose in location_views_handler_filter_proximity->exposed_form()
Kindly advise. Many thanks!
Regards,
Chang
Comments
Comment #1
ccheu commentedSorry, the complete error message is as follows:
Notice: Undefined index: user_location_choose in location_views_handler_filter_proximity->exposed_form() (line 239 of /public_html/sites/all/modules/location/handlers/location_views_handler_filter_proximity.inc)
Thanks.
Comment #2
rooby commentedTechnical explanation so I remember when I come back to this:
For views handlers that implement the function expose_form_left(), the options defined in the function are either not saved or are saved somewhere else so aren't there when we try to use them.
Comment #3
ccheu commentedThank you in advance rooby for looking into this. Cheers!
Comment #4
rooby commentedI have committed a fix for this now.
http://drupal.org/cvs?commit=502428
Comment #5
ccheu commentedRooby,
Thanks very much for the fix. I can confirm that the fix in 502428 works. Cheers!!
But an interesting issue has now surfaced:
http://drupal.org/node/1066736
Thanks once again!
Regards,
Chang