Hi, I'd like to know whether it is possible with <...
# community-help
j
Hi, I'd like to know whether it is possible with instantsearch.js to have the search query and the filters be part of the URL, like on this site: https://www.fashionmasks.org/mascara?fm-filter=[ctg=13;age=5;gen=26;siz=unc;prc=0-50;prc=150-199] - here the query was
mascara
and the filters are the part of the URL after the question mark. It would be so awesome to be able to save a search!
j
Yup! You just need to set
routing: true
when initializing instanstearch like this: https://github.com/typesense/showcase-recipe-search/blob/7a9396a76fbfc4b749531fc34546fa92ba654b10/src/app.js#L140
👍 1
j
OK very nice!!! Thank you!👏
👍 1