Could you try chaining all the helper calls in a single call like this:
Copy code
helper.setPage(2).setQuery('cat').search()
m
Mehul Savaliya
06/19/2023, 2:17 PM
@Jason Bosco Its already tried.
j
Jason Bosco
06/19/2023, 2:18 PM
Then I’m not sure what’s happening. Might be better to ask the vue-instantsearch team by opening an issue in their repo, since this behavior is entirely before the search request reaches the Typesense adapter
But for your use-case of setting default search parameters, I’ve usually seen users use the configure widget: https://www.algolia.com/doc/api-reference/widgets/configure/vue/
m
Mehul Savaliya
06/19/2023, 2:19 PM
Also set the default parameters at ais-configure. But still its not working. On reload everytime its fetching result for first page when page parameter is exist in URL.
Mehul Savaliya
06/19/2023, 2:20 PM
If making any changes and save the code, that time its fetching correct data.