Search doesn't work
JustJamesAus - February 12, 2008 - 05:06
| Project: | Home (Real Estate) |
| Version: | 5.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | by design |
Jump to:
Description
The search form on the demo site doesn't seem to return any results, no matter what elements are filled in.

#1
When I switched the results type from Automatic to List, I received results
#2
It seems to be working for me. I type "Evanston, IL" into the search box and receive a map of the results.
What does your search look like? I want to try to enter those terms to see why you are getting errors.
Thanks,
Michael
#3
You're right, it does work based on the suburb, that was my fault for not knowing a suburb to test with.
However, if I just type in IL it says no homes found, and it says it searches by state under the box.
And if I type in 90210 (the only US postcode I know) and set it to 'no limit' it also returns no homes found.
#4
Ok,
I see your point.
Let me clarify. When performing a search and you select "no limit" as the proximity, it will NOT perform a proximity search. It will perform just a straight search (Return all homes in 90210 zipcode). When performing a proximity search, it will first get the latitude and longitude of the location (zipcode or "city, state") and then return all homes within a range of that latitude and longitude point (return all homes BETWEEN latitude + miles AND latitude - miles.....)
When performing a search, a zipcode is required (i.e. 90210) or a city (i.e. Evanston) or a city, state (i.e. Evanston, IL) is required. I never thought about returning all results when entering a state.
Michael
#5