From b691f3098bda0fce1bb30b01208881527060a730 Mon Sep 17 00:00:00 2001 From: Gauthier Roebroeck Date: Fri, 10 Sep 2021 15:53:13 +0800 Subject: [PATCH] fix(webui): latest books on dashboard not sorted properly --- komga-webui/src/views/Dashboard.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/komga-webui/src/views/Dashboard.vue b/komga-webui/src/views/Dashboard.vue index 89b5ad13..172156e9 100644 --- a/komga-webui/src/views/Dashboard.vue +++ b/komga-webui/src/views/Dashboard.vue @@ -353,7 +353,7 @@ export default Vue.extend({ () => this.$komgaBooks.getBooksOnDeck(this.getRequestLibraryId(libraryId)), ) this.loaderLatestBooks = new PageLoader( - {sort: ['metadata.title,desc']}, + {sort: ['createdDate,desc']}, (pageable: PageRequest) => this.$komgaBooks.getBooks(this.getRequestLibraryId(libraryId), pageable), ) this.loaderRecentlyReleasedBooks = new PageLoader(