Show the edition statement on cards and in the library

The edition comes only from a record for this exact edition: the Library
of Congress record's edition statement first, then Open Library's edition
name when it is a well-formed statement. Existing books are filled in at
startup without changing anything else about them.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
swaitsandClaude Fable 5.2 committed 2026-11-19 17:49:59 -07:00
1 parent e83774adbd
commit bb46d343a8
26 files changed
+455 -34

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ function book(id: number, over: Partial<Book>): Book {
id, isbn13: null, lccn: null, title: 'T' + id, subtitle: null, authors: [], publisher: null, year: null,
subjects: [], callNumber: null, sortKey: null, confidence: null, source: null, dewey: null,
status: 'resolved', attentionReason: null, manualOverride: false, inQueue: false,
printedAt: null, hierarchyTail: null, createdAt: '', updatedAt: '', ...over,
printedAt: null, hierarchyTail: null, edition: null, createdAt: '', updatedAt: '', ...over,
};
}
const qa = (id: number, key: string) => book(id, { callNumber: 'QA76.73 .R87', sortKey: key });