Forums Forums Search & Filter Pro ACF Relationship filter displays IDs instead of labels

Viewing 2 posts - 1 through 2 (of 2 total)
  • Anonymous
    #152964

    Update: I was able to fix the issue. This is what I did:
    1. Run this SQL-query: DELETE FROM \wp_search_filter_cache\WHERE \field_name\= '_sfm_[name of the post type by which I want to filter]'.

    2. In the search form, set the meta-key to something different and save.

    3. In the search form, set the meta-key back to its original value and save.

    I believe this was an issue with the S&F cache. It would be great to have the option to clear the cache in the backend.

    Trevor
    #152989

    Thanks for sharing. Our forum software made a mess of the code snippet though, so I made a GIST of it:

    https://gist.github.com/CotswoldPhoto/0afae1b95556059af1b0ce53531c26d9

    Note that the name of the table may be different if you use a prefix for tables.

Viewing 2 posts - 1 through 2 (of 2 total)