I have noticed proximity filters as exposed forms were not working at all in my project. Upon inspection, it seems that openlayers_proximity_handler_filter->secure_input (in openlayers_proximity_handler_filter.inc) is to blame. It checks for the form values in $this->value[IDENTIFIER], but they are actually in $this->value[0][IDENTIFIER].

I have no idea of what's going on. I patched it in order to make it work for my project, but I hope we can clear this out. Patch is attached.

Comments

barraponto’s picture

So, I guess depending on options it might not always be there.
I guess it is related to the single option setting, I'll research it later.
But attached is a patch that checks whether the array is there before merging.