AJAX update not working both ways

Forums › Forums › Search & Filter Pro › AJAX update not working both ways

Tagged: , ,

Viewing 3 posts – 1 through 3 (of 3 total)
  • Anonymous
    #36770

    On http://digitalestedenagenda.nl/laat-zien/ we filter projects using taxonomies. When selecting a Thema the list of results gets updated accordingly. When deselecting the Thema (to show all of them) the conditional list of subresults shows properly, but the results do not reflect that.

    Example: if I choose ‘Bedrijvige Stad’ one result is shown, and the taxonomy list reflects the choice made. WHen I deselect ‘Bedrijvige Stad’ one result is still shown, but the list of taxonomies is visible again.

    If I select taxonomies, then refresh the page I _do get to show the correct filter result. This leads me to believe there’s an issue with the AJAX implementation. Please advise, thanks.

    Ross Moderator
    #36772

    Hi there

    Its because you haven’t updated your results container (in the display results tab)- yours is set to #main but it doesn’t exist on the page.

    This is what S&F needs to it knows which area of the page to update with the new results.

    Really you should add an ID to the results area and use that
    https://www.designsandcode.com/documentation/search-filter-pro/search-results/#Setting_Up_Ajax

    However, looking at your site, I think you *could* just use #sidebar + .pure-u-3-4.pure-g-r without any modification

    Thanks

    Anonymous
    #36774

    Thanks, not sure how I could have missed that. Working now.

Viewing 3 posts – 1 through 3 (of 3 total)

Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.