Hi, I’m trying to create a custom refinement list where I can group the values into one selected. But I’m unsure how to do this, I’m using the react instasearch.
- I have posts that are indexed with their uids.
- When a user visits the posts page, I retrieve an array with all the post uid’s that the current logged in user has created (author).
- I want to create a custom filter/refinement list with a button/radio
Only show my postsand
Hide my postsand
- Choosing one of those options should update the search filter accordingly.
I tried creating a custom RefinementList and then manually update my url query string but then I need to completely reload the page to update the
I’m running on nextjs.
Any help/ideas/solutions will be highly appreciated.