We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c27636 commit e587d35Copy full SHA for e587d35
BlogEngine/BlogEngine.Core/Web/Controls/PageMenu.cs
@@ -83,7 +83,7 @@ bool HasChildren(Guid pageId)
83
{
84
bool returnValue = false;
85
86
- foreach (BlogEngine.Core.Page page in BlogEngine.Core.Page.Pages)
+ foreach (BlogEngine.Core.Page page in BlogEngine.Core.Page.Pages.OrderBy(page => page.SortOrder))
87
88
if (page.ShowInList && page.IsPublished)
89
0 commit comments