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+/);