Home › Forums › Backend Issues (wp-admin) › relationship field search not working once filtered › Reply To: relationship field search not working once filtered
two things to try:
$args = array('ppp'=>200);
and see if you can just go through the filter with no changes. if not, find the errors, they are either in your javascript console or hiding in your error log (in local do you have wp_debug set to true?)acf/fields/relationship/result/name={$field_name}
if you have multiple fields to query against, i wonder if you can dogpile them:
add_filter('acf/fields/relationship/name=title', 'tdr_carousel_query', 10, 3);
add_filter('acf/fields/relationship/name=keywords', 'tdr_carousel_query', 10, 3);
add_filter('acf/fields/relationship/name=description', 'tdr_carousel_query', 10, 3);
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.