I have multiple AJAX filters in a page and I would like to make links TO this page so that some filters would be pre-selected. Is that possible? I would need url parameters for that I suppose, but there are none seen in address field when I choose filters. I've tried different options but can't get the parameters to show in url.
What am I missing or how should I construct the url to preselect the filters?
Hi there,
Thank you for contacting us and I'll be happy to assist.
To view the URL parameters for the search filters, you can temporarily set the "Custom Search Settings" in the view to "Full page refresh when visitors click on the search button" option.
This way, when you'll perform a search with all filters in use, the URL parameters will be available in the URL, after the page refreshes with results.
Once you've noted down the needed parameters, you can switch back the "Custom Search Settings" to use AJAX for results update.
I hope this helps.
regards,
Waqar
Hi Waqar, thank you for your reply.
That's what I thought first too and tried it already and now again. But it doesn't work that way. Even though I change this value and add the submit button, the address still has no parameters in it.
But could you tell me how is the address constructed? I could just try it manually.
I found the way, the url construction is mentioned in the view's query filter examples. So, my issue is resolved now. Thank you!