Merge pull request 'feat: changed the GlobalEntity Sort Attribute to CreationTime' (#45) from ChangeGlobalEntitySortAttribute into main
All checks were successful
Build Docker Linux ARM64 / build-docker-linux-arm64 (push) Successful in 45s

Reviewed-on: #45
This commit was merged in pull request #45.
This commit is contained in:
2026-02-13 19:49:30 +01:00

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();