- This topic has 1 reply, 2 voices, and was last updated 10 years, 8 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › Sort Order
Hey,
I am hoping that someone can shed some light for me on the sort order.
When I set it up it works twice (every time) then stops working.
So if I open the page, change sort order from the drop down the page auto updated to the correct results, if I change it to a different sort order, it works. But after the second time the order does not change and the Ajax apears to do nothing – the url stays the same and the results stay the same, I have tried updating them in different orders to see if there was any pattern and there was not.
Any suggestions as to what could be causing this?
Thanks
Hey Daniel
I think I know the issue.
When you disable Ajax works every time?
Basically I think your Results Container setting (in the Display Results tab) is being too greedy.
The results container will be replaced every time an ajax request is made.
It sounds like in your case, the results container includes the search form – which means every ajax request, the whole search form is replaced – and then not reinitialised so stops working.
You need to change your results container to match an element on your page that contains only your results, and not your search form.
Thanks