This message was deleted.
# community-help
s
This message was deleted.
j
The code looks fine to me... But I wonder if a custom refinementList widget needs to take into account when it's nested inside an
Index
to scope the queries accordingly. Could you try the same code but with the standard RefinementList widgets instead of the custom ones you have, to see if that works?
v
Excellent idea 👍 I’ll play around with the standard components during the weekend
👍 1
switching to standard components made no difference 😕 Looking at the search payload this is something I don't understand - Why is the refinements applied three times like this? Isn't the first one the only thing I want?
attachment index is two more time at the end of the payload
I tried to override client.search() to remove some of those just to see how it affects the result but it just broke everything 😅
j
Hmm, I'm not sure. Could you replicating the issue with this minimal example: https://github.com/typesense/showcase-federated-search If you can give me a fork of that repo with filters added and one that replicates the issue, I can try debugging