typesense / typesense-instantsearch-adapter

A JS adapter library to build rich search interfaces with Typesense and InstantSearch.js
MIT License
361 stars 62 forks source link

RefinementList internal filters do not maintain #198

Closed GlauberGuedes closed 4 months ago

GlauberGuedes commented 4 months ago

Description

Using with attribute = 'category' in algolia, when creating an internal filter in it, it kept all the filters of that facet, thus being able to click on other internal filters in it and follow the logic of operator 'or', but when I changed for typesense with 'typesense-instantsearch-adapter ', when doing this same internal filter all the filters that have no results disappeared, making it impossible to do internal 'or' filtering in the RefinementList.

Is there a setting that adjusts this?

Typesense Version: "typesense-instantsearch-adapter": "^2.8.0"

jasonbosco commented 4 months ago

Could you elaborate on what you mean by "when creating an internal filter in it"?

If you can share a standalone repo with actual code, showing the issue, that would help.

GlauberGuedes commented 4 months ago

Sorry, it was my implementation error.