Search for properties in Kansas returns Arkansas as well
-
A search for properties located in the state of Kansas also returns all properties located in the state of Arkansas.
I believe this is happening because of the way the plugin searches all the attributes, using a like statement, not “=”
AND meta_key = ‘state’
AND meta_value LIKE ‘%Kansas%’99% of the time you probably want to use like, but when an attribute is defined in a list, it seems like the plugin should really use “=”.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Search for properties in Kansas returns Arkansas as well’ is closed to new replies.