You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Go to https://docs.arangodb.com (will automatically redirect to 3.11 version, which is the stable version)
Search something, the behaviour is correct showing 3.11 results
Change version via the version selector (e.g. change to 3.12 version)
Search something again, it will still show 3.11 results
Expected behavior
Expected behavior is to dynamically change DocSearch facetFilter value for version attribute when site's version is changed.
Environment
DocSearch version: 3.0.0
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: