Jump to content

Distance Search not working on directory page.


Andrea Harrington

Recommended Posts

I have distance search enabled and setup withe the zipcode field in Geomap's Basic Configuration. When searching a zipcode from a category page, it works perfectly and takes me to a url like: /index.php?option=com_jreviews&Itemid=416&url=search-results_m416/query:all/jr_zipcode:93422/jr_radius:50/jr_latitude:35.4652141/jr_longitude:-120.7005044/order:distance

 

However, when I search for a zipcode on the directory page, it takes me to a url like this: /index.php?option=com_jreviews&Itemid=416&url=search-results_m416/dir:1 and the results are not distance sorted. Obviously something's missing. The modules' settings are the same. I'm using two different templates for the directory search module and category search module, but the code is identical except for an extra div with text content. Any clue what the issue could be or where else I could troubleshoot?

 

Thank you!

Link to comment
×
×
  • Create New...