I have a node that has "sort subpages" set to to "Start publish date (latest first)". If I publish a new page under this node, it goes to the bottom instead to the top. I have to change the sort order for the node to something else, and then back to start publish date, for the new node to appear at the top.
Is this a bug in Episerver?
What version of Episerver are you using?
With the latest version, this is how it works for me:
If you schedule the page for being published in the future, I guess it will move to the top of the list when it's published.
Aha, I see this the behavior in a newer version too. The version of the problem site is 10.10.
In 11.12 it works as you describe. So I guess the solution is to upgrade. Thanks!
So I've upgraded the site, but the problem still exists. It's now version 11.12. Sometimes it appears at the top when I publish, but sometimes it doesn't. It's quite unstable.
What could cause this? If I set sord order to "According to creation date", it always appears at the top, because it is placed there immediately when it's created. So it looks like it's the event that should put it at the top when I publish that isn't always triggered.
Is there anything in the log file related to this?
First of all, when you create a page the created date is immediately updates (even you haven't published it). That's why you see immediate effect.
But, when you publish that page, the publish date is updated. So at that time page is moved to top.
Now, in your case. If you change the publish date manually, after that even you publish the page the publish date will not change. So you can verify that when you publish the page the published date field is updating or not (in settings tab) for the page that not appearing at top?
If it's not appearing then, you need to manually empty that field (published date). Publish now and it will work.