Forums Forums Search & Filter Pro “AND” field relationship not working

Viewing 10 posts - 1 through 10 (of 20 total)
  • Anonymous
    #242446

    Hello,

    I have filters set up and working and we “Category” and “Tag” fields, with Ajax enabled.

    The issue is that the “AND” field relationship does not appear to work as expected, rather it shows results as though it is set to “OR”.

    For example if you select the “Careers stories” filter in the “Article type” (Category) dropdown, I expect there to be 4 – which there is. However, when you then select a category “Agile” (Tag) there should be zero results – but they remain.

    See link below to demonstrate the issue:
    https://infinityworks.com/insights/

    I appreciate the assistance!

    Kindest regards

    Anonymous
    #242447

    To follow up I can see when you go directly to the URL/refresh the page, the results are accurate: https://infinityworks.com.dev/insights/category/career-stories/?_sft_post_tag=agile

    This leads me to assume the issue is with Ajax.

    Please can anybody assist? Thank you

    Trevor
    #242500

    I think it is because the terms may have a zero count.

    Try this:

    In the General settings tab of the form:

    Set Auto Count (both settings) to ON

    And then in the Form UI:

    In each field set Hide Empty to ON

    Anonymous
    #242503

    Hey Trevor,

    Thank you for getting back to me.

    I can confirm that Auto Count is already set to ON, and within Form UI, both fields Hide Empty setting is also set to ON.

    Unfortunately the issue persists.

    I noticed when I disable Ajax, it works – although due to the large hero area, the Ajax really needs to be used here.

    Thanks again

    Trevor
    #242507
    This reply has been marked as private.
    Anonymous
    #242531
    This reply has been marked as private.
    Trevor
    #242699
    This reply has been marked as private.
    Anonymous
    #243850

    Hi Trevor,

    I may be wrong but I think the count is actually forcefully hidden by CSS. This is a staging server so there’s no caching enabled and no plugins for it.

    Hope this helps!

    Thanks

    Trevor
    #243975
    This reply has been marked as private.
    Anonymous
    #244829
    This reply has been marked as private.
Viewing 10 posts - 1 through 10 (of 20 total)