feat: changed the GlobalEntity Sort Attribute to CreationTime

This commit is contained in:
2026-02-13 19:42:25 +01:00
parent 5f39417109
commit e48e8b6394

View File

@@ -159,7 +159,7 @@
/// <exception cref="NotImplementedException"></exception> /// <exception cref="NotImplementedException"></exception>
protected override async Task OnInitializedAsync() protected override async Task OnInitializedAsync()
{ {
GlobalEntities = await CouchLogDB.GlobalEntities.OrderByDescending(Entity => Entity.Title).ToListAsync(); GlobalEntities = await CouchLogDB.GlobalEntities.OrderByDescending(Entity => Entity.CreationTime).ToListAsync();
MediaTypes = await CouchLogDB.MediaType.OrderBy(Type => Type.Id).ToListAsync(); MediaTypes = await CouchLogDB.MediaType.OrderBy(Type => Type.Id).ToListAsync();
Genres = await CouchLogDB.Genres.OrderBy(Genre => Genre.Name).ToListAsync(); Genres = await CouchLogDB.Genres.OrderBy(Genre => Genre.Name).ToListAsync();