fix(series): count duplicate formats as one volume

Preserve raw book counts for compatibility while reporting logical ownership and reading progress for duplicate series positions.

Closes #1871
This commit is contained in:
neon
2026-10-27 03:55:23 +00:00
parent 0752319647
commit 0b89e5a4a1
9 changed files with 210 additions and 37 deletions
+4
View File
@@ -71,6 +71,10 @@ export type SeriesDetail = {
name: string;
bookCount: number;
readCount: number;
/** Logical volumes owned, collapsing book records that share a whole-numbered series position. */
ownedVolumeCount?: number;
/** Owned logical volumes whose furthest status is read. */
readVolumeCount?: number;
authors: string[];
possibleGaps: number[];
/** Total books a metadata provider reports for the series, or null when no provider has told us. */