Hi 🙂
On hidden link, results should be sorted by event date, from today into the past.
The first results will be sorted right, but AJAX will then load the OLDEST results first!
What is going on there?
Hi,
Thank you for contacting us and I'd be happy to assist.
Is the website using any third-party plugin to set/manage post/taxonomy orders? Plugins like these can also affect the query used by the Toolset views.
To troubleshoot this, I'll suggest the following steps:
1. Please make sure that WordPress, active theme, and plugins are all updated to the latest versions.
2. It would be interesting to test this with all non-Toolset plugins disabled and a default theme like Twenty Twenty-One.
If it's fixed, you can start adding the disabled items, one by one, to narrow down to a possible conflicting one.
3. In case the issue still persists, I'll need to see how this view and the event dates are set up in the admin area. You can share temporary admin login details, in reply to this message.
Note: Your next reply will be private and making a complete backup copy is recommended before sharing the access details.
regards,
Waqar
The access details worked thank you.
I couldn't find anything out of place in the settings of the view '_Vergangene Veranstaltungen'.
The website is quite large with a number of third-party plugins. Do I have your permission to download its clone/snapshot? This will help in troubleshooting this on a different server, with minimal setup.
Hi Waqar, just do it.
Would you like to use duplicator?
Thank you for the permission.
Just wanted to let you know that I've downloaded the website's duplicator package and currently performing some tests on this.
Will share the findings, as soon as this testing completes. Thank you for your patience.
Thank you for waiting, while I completed the testing on your website's clone.
During troubleshooting, I noticed that the issue is specific to this view '_Vergangene Veranstaltungen' ( ID: 100138 ).
If a new view is created with the same ordering and AJAX infinite scrolling settings, it works, as expected.
Additionally, the issue with ordering is also fixed for this view, if the 'Search and Pagination' content is removed/reset. In this section, there are a lot of filters, HTML, and custom code.
I'll recommend creating a new view, with the same settings and loop editor content, but not carrying over the code in the 'Search and Pagination' content. This will allow you to include the necessary search field filters one by one, narrowing down to the one that is causing the AJAX ordering to change.