I'm an new Toolset user trying to learn views with sorting. The one I am working on is problematic. If I open the page in edit mode the view often does not load. Normally it's 10 seconds or so, which is doable, but now it even doesn't show the view after many minutes.
If I try again it often works, but then there are other issues. Often the page preview link does not load either. It opens a Chrome tab that remains empty. Also I've seen that the right menu had empty dropdown lists where one should normally see the sorting source (which was already configured). In the frontend, the page shows a "sort by post date" option while this isn't configured.
Please see hidden link
Can I safely post a temporary login link for you here? So you can take a look?
Let me mark your next reply as private so that we can get log-in credentials from you—you may want to create a temporary admin user for us to use that you can later delete. And be sure to have a current backup of your site.
I've checked the edit screen and the preview option for the "Day passes for Switzerland" page a couple of times, but, couldn't notice any loading issue.
If you only experience this intermittently, I'll recommend temporarily turning on WordPress debugging ( ref: https://wordpress.org/support/article/debugging-in-wordpress/ ), when this is happening and see if any errors or warnings are logged in the server's error logs.
The view on the page is set to show the results, ordered by the "Post date", by default.
( screenshot: hidden link )
This is why the order by "Post date" option is available in the sorting controls and is selected when the page loads.
I hope this helps and please let me know if you need any further assistance around this.
Thanks for helping me out. I just tried again and it works fine. I will keep an eye on it and enable logging if needed.
As for the sorting: I did not realize that there are default sorting options on the view, in addition to my two sorting options set in the sorting block. I did not have post date sorting in the sorting block. What happened was that on initial page load it sorted on post date and also showed that in the sorting dropdown. So it showed 3 sorting options. After selecting another sorting, it only showed 2 sorting options in the dropdown. Quite confusing for a frontend user 🙂
I guess I need to make sure that the view sorting matches the sorting block.