Advertisement:

Author Topic: Meta or Custom Field Search when there are Multiple Words in the Custom Field?  (Read 170 times)

Resta

  • Sr. Member
  • ****
  • Posts: 339
Hello,

When searching for custom fields, it works as long as there is one word in the custom field but if there are multiple words in the field, the search will not return any results. For example, if the custom field has only one word like Arizona and searching for it like index.php?page-search&meta[1]=Arizona will work just fine and will return matching listings but if there are several words like "Arizona, Alaska, Alabama" in the field, either with comma separated or just with a space in between them, searching for the same index.php?page-search&meta[1]=Arizona will not show any results.

So, the question is - if there is a way or a mod to search a custom field with multiple words and show all listings that contain any single word in the custom field?

Thanks!
« Last Edit: January 03, 2019, 04:53:08 am by Resta »

marius-ciclistu

  • issues
  • Hero Member
  • *
  • Posts: 1618
  • "BE GRATEFUL TO THOSE THAT SUPPORTED YOU"
Not the case in my regard.  I use 2 words and it workes fine.