Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems when using AisHiearchicalMenu #176

Open
anders2410 opened this issue Jul 6, 2023 · 1 comment
Open

Problems when using AisHiearchicalMenu #176

anders2410 opened this issue Jul 6, 2023 · 1 comment

Comments

@anders2410
Copy link

Description

There are problems with 'typesense-instantsearch-adapter' when using the AisHiearchicalMenu. When I have added more lvls in the attributes, than there are actual lvls in the data, I get errors in the console. When using it natively with Algolia it works, but when using the Typesense adapter problems occur.

Steps to reproduce

Create an index which can be used with AisHiearchicalMenu, and add some lvls to the 'attributes'.

image

When clicking on the deepest link in the hierarchy, in this case "Trådløse dørklokker", it will give an error in the console. In this example, all of the products in the index have at most 3 lvls. So "lvl0", "lvl1" and "lvl2".

image
image

Expected Behavior

That I'm able to select the deepest link without getting an error.

Actual Behavior

Gets an error when selecting the deepest link.

Metadata

vue-instantsearch: 4.10.4
typesense-instantsearch-adapter: 2.7

OS: Windows 11

@jasonbosco
Copy link
Member

Could you share your collections schema?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants