Hi David, thank you for the suggestion. The query I am using looks like this:
var childNodes = DocumentHelper.GetDocuments()
.Path(path, PathTypeEnum.Children)
.LatestVersion()
.Published()
.OnSite(SiteContext.CurrentSiteName)
.Culture(_cultureName)
.CombineWithDefaultCulture()
.OrderByAscending("NodeOrder")
.Where(x => x.Parent.NodeAliasPath.Equals(path))
.ToList();
I have tried using PublishedVersion()
too.
The result is always the same when debugging through the IDE. Any node where I have changed the field linked to the page name returns the NodeName that was assigned when the page was created. Equally changes I make to the page alias are returned correctly in the NodeAlias, NodeAliasPath etc. suggesting I have the latest version.