Support Forums

Looking for support? You can access the support system via your account.

Forums Forums Search & Filter Pro ACF relationship field doesn’t update filter options

Viewing 10 posts - 1 through 10 (of 14 total)
  • One Ltd
    #272716

    Hi

    We are using an ACF relationship field that gets updated on the ‘acf/save_post’ hook with the values from another 2 acf relationship fields. It all works and I can see the value in the database, however, for certain relationships (even with the database showing the correct data) we can’t see them in the filter options. The relationship is displayed as a ‘checkbox’ filter, where users can tick it and filter.
    I have tried rebuilding the cache, deleting the meta_key and recreating it (in the acf/save_post hook), clearing the wp_cache_delete of that post, and finally also calling do_action(‘search_filter_update_post_cache’, $post_id); for the post and all the posts in the relationship.

    None of which worked. The only way to make it work, is to remove the relationship, update the post (with removed relationship) and then re-add the relationship and update the post.

    I need some help to understand what is the problem.

    One Ltd
    #272719
    This reply has been marked as private.
    One Ltd
    #272720
    This reply has been marked as private.
    Trevor Moderator
    #272742

    I have referred this question to the plugin developer, Ross, for his input.

    Ross Moderator
    #272777
    This reply has been marked as private.
    One Ltd
    #272787
    This reply has been marked as private.
    One Ltd
    #272794
    This reply has been marked as private.
    Ross Moderator
    #272968
    This reply has been marked as private.
    One Ltd
    #273031
    This reply has been marked as private.
    Ross Moderator
    #273241
    This reply has been marked as private.
Viewing 10 posts - 1 through 10 (of 14 total)

You must be logged in to reply to this topic.