[Enh] Updates Index.razor with page sort order

Displays page list according to the sort order preferences applied to pages.
This commit is contained in:
Jon Welfringer 2024-12-18 14:16:18 -08:00 committed by GitHub
parent 3732a0bc3f
commit d3aa467d1c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -35,6 +35,7 @@
try
{
_pages = await PageService.GetPagesAsync(PageState.Site.SiteId);
_pages = _pages.OrderBy(item => item.ParentId).ThenBy(item => item.Order).ToList();
}
catch (Exception ex)
{