I'm using the reactive search on a react web app and I'm trying to find a way to be able to switch from "all items" to "favorite items" for which I have an array of ids.
I've tried three different strategies, but none appears satisfying:
I've set up a DataController with a custom query on "terms", but it only works one way : I can filter the items, but then I can't unfilter them and get back to the unfiltered.
I also tried to use the multilist dropdown with the defaultSelected prop but then if I clear the filter I can't find a way to programmatically set the values.
Eventually I can provide my own filter inside the onData function and choose to show / not show the item whether it appears on the list of ids - but this feels hacky and I'd prefer - if possible - to integrate the functionality directly to the reactiveBase.
What would be the best strategy to achieve this ?