mirror of
https://github.com/bookorbit/bookorbit.git
synced 2026-11-03 00:11:37 -06:00
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:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user