I am using React InstantSearch and have been un-successful in trying to filter my hits when trying to apply a certain filter. Some of my hits contain an
isNew attribute. I have custom buttons made with the
MenuConnector and when clicked, I either want to show the hits where
isNew=false || undefined.
I can’t seem to get this to render this condition correctly and have tried the
Configure connector with
<Configure filters="type:Graphics AND (NOT isNew)" /> but it seems like whenever the
isNew=false is in the search state/route it will still refine that even with the
Is there a way to have
isNew=false always include the
undefined hits as well? I want it to show both types of hits when the user selects the button and visits the page with this attribute declared in the route.