Compare commits

...

2 Commits

Author SHA1 Message Date
66468a1f8b 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
2026-02-13 19:49:30 +01:00
e48e8b6394 feat: changed the GlobalEntity Sort Attribute to CreationTime 2026-02-13 19:42:25 +01:00

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