[Enh] Updates Add.razor with page sort order
Displays page list according to the sort order preferences applied to pages.
This commit is contained in:
parent
af821dcd9a
commit
bd2849b556
@ -252,6 +252,7 @@
|
||||
try
|
||||
{
|
||||
_pages = await PageService.GetPagesAsync(PageState.Site.SiteId);
|
||||
_pages = _pages.OrderBy(item => item.ParentId).ThenBy(item => item.Order).ToList();
|
||||
|
||||
if (PageState.QueryString.ContainsKey("id"))
|
||||
{
|
||||
|
Reference in New Issue
Block a user