- This topic has 2 replies, 2 voices, and was last updated 10 years, 2 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
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