feat: changed the GlobalEntity Sort Attribute to CreationTime #45

Merged
Penry merged 1 commits from ChangeGlobalEntitySortAttribute into main 2026-02-13 19:49:30 +01:00
Showing only changes of commit e48e8b6394 - Show all commits

View File

@@ -159,7 +159,7 @@
/// <exception cref="NotImplementedException"></exception>
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();
Genres = await CouchLogDB.Genres.OrderBy(Genre => Genre.Name).ToListAsync();