Tell us what you are trying to do?
We’ve set-up a view where the results update with when the submit button is clicked but we’d like the sorting control and pagination to work without needing to click the submit button.
Is there any documentation that you are following?
No
Is there a similar example that we can see?
Will find one if the question is not making sense.
What is the link to your site?
versteckter Link
Hi Darcy,
Thank you for getting touch.
Can you let me know if you're using the Block view setup to create the search or if you're using the classic view setup.
This way I can provide specific instructions.
Thanks,
Shane
It’s using the Classic view setup
Hi Darcy,
Given that this is the classic view setup then you should be able to achieve this by going to your Custom Search Settings and selecting the option " AJAX results update when visitors change any filter values"
Please let me know if this helps.
Thanks,
Shane
Is it possible to make it work that way by selecting the option specified in the screenshot attached?
Hi Darcy,
Yes in your screenshot those settings will have the same effect as selecting "AJAX results update when visitors change any filter values".
Does it not work like this for you ? If there are any issues please let me know.
Thanks,
Shane
To make it clearer, this what we’re trying to do for this view - versteckter Link
Please see attachment.
Hi Darcy,
Have you made the change based on your screenshot at your response #2215371
I Took a look at the page again and your search is now filtering whenever I interact with any of the search parameter as well as the ordering options.
Can you let me know if this doesn't happen on your end? If it doesn't can you perhaps using a different browser?
This is to eliminate any issues with your browser causing an unforeseen issue.
Thanks,
Shane
I didn’t realise that I haven’t updated it back.
So right now, the filters should update only the result when the search button is clicked but then this would also be the same for the sort and the pagination.
We’d want the sort and pagination to just update the result without clicking the search.
I hope the screenshot makes sense now.
Hi Darcy,
We’d want the sort and pagination to just update the result without clicking the search.
While it is possible to perform the pagination without affecting the search, you won't be able to perform the ordering independent of the search settings.
What I mean by this is that the "Update view every time an input changes" setting is tied to the entire filter output section. The frontend sorting is also included in the Filter Output. So it will be affected by the custom search setting as well.
It won't be possible to have the ordering controls have its own independent sorting settings vs the frontend filter settings.
I hope I was able to clear this up for you.
Thanks,
Shane
My issue is resolved now. Thank you!