0

Duplicated on Wp and Drupal Demo sites Custom field of type contact reference used in front end profile for search and listings (public) Search returns “no matches found” even though contact name appears in field Logged in as admin enter image description here

Entering nothing in search fields and pressing search lists all contacts in database. I don't get why a single contact from the contact reference field is "no match" enter image description here

2

1 Answer 1

1

Can you please check if Adams, Lou is saved in custom field for any contact in your system? The profile search that you have created will list all the contacts having Adams, Lou saved in their respective custom field.

I guess you trying to create a profile search that will list details of a contact by selecting contact from a drop down.

5
  • Yes I do want to create a profile search that will list details of a contact by selecting contact from a drop down. If I don't enter anything in the search fields, all the contacts in the database are listed
    – LesleyJill
    Commented Jan 11, 2018 at 14:07
  • Nothing to do with Lou Adams - select any contact from the drop down and it's "no matches Found"
    – LesleyJill
    Commented Jan 11, 2018 at 14:21
  • Its a contact reference custom field for a contact and NOT actual contact reference field. Definitely when you dont enter anything it means no criteria is being applied and it will show all results. To make you understand more try updating a contact and have the custom field set to different contact and then perform profile search. You should get results Commented Jan 11, 2018 at 15:10
  • Now I understand! Thank you very much Pradeep. So is there anyway to achieve a profile search that will list details of a contact by selecting contact from a drop down?
    – LesleyJill
    Commented Jan 11, 2018 at 22:11
  • Can you please mark my answer as answered and vote if you feel i was very useful? Commented Jan 12, 2018 at 4:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.