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.
2 parents 785ef5e + e587d35 commit 0a85967Copy full SHA for 0a85967
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