- This topic has 2 replies, 2 voices, and was last updated 8 years, 9 months ago by .
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › AJAX update not working both ways
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.
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
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.
Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.
*Other cookies used for logging in and cart functions will only be used when you use those features and cannot be disabled.
If you disable these cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.
This website uses Google Analytics to collect anonymous information such as the number of visitors to the site, and the most popular pages.
Keeping this cookie enabled helps us to improve our website.
Please enable Strictly Necessary Cookies first so that we can save your preferences!
More information about our Cookie Policy