From f604a69c5fc4abe97bc7e5bb42775fa27bc015c9 Mon Sep 17 00:00:00 2001 From: ACX <8075870+acx10@users.noreply.github.com> Date: Fri, 27 Feb 2026 18:18:13 -0700 Subject: [PATCH] fix title sort using series name instead of book title (#3070) (#3097) --- booklore-ui/src/app/features/book/service/sort.service.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/booklore-ui/src/app/features/book/service/sort.service.ts b/booklore-ui/src/app/features/book/service/sort.service.ts index a70be77e4..0823ffe02 100644 --- a/booklore-ui/src/app/features/book/service/sort.service.ts +++ b/booklore-ui/src/app/features/book/service/sort.service.ts @@ -61,9 +61,7 @@ export class SortService { }; private readonly fieldExtractors: Record unknown> = { - title: (book) => book.metadata?.seriesName?.toLowerCase() - || book.metadata?.title?.toLowerCase() - || null, + title: (book) => book.metadata?.title?.toLowerCase() || null, author: (book) => book.metadata?.authors?.map(a => a.toLowerCase()).join(", ") || null, authorSurnameVorname: (book) => book.metadata?.authors?.map(a => { const parts = a.trim().split(/\s+/);