Closed dandimeo closed 3 months ago
Hello @dandimeo , sorry for the long delay in answering your question, however looking at your site now it seems you resolved the situation. If you need interactive help in the future, please take a look at our Discord at https://alg.li/discord.
Description
The documentation site https://docs.arangodb.com has a folder per version version handling. (all versions are on main branch) We currently have 3 versions: 3.10, 3.11, 3.12.
We set up Algolia DocSearch V3 and added the following facets:
Version value comes from
var version = localStorage.getItem("docs-version");
However, when the version is switched through version selector and start a new search, the search results still address the previously selected version.
Steps to reproduce
Expected behavior
Expected behavior is to dynamically change DocSearch facetFilter value for version attribute when site's version is changed.
Environment