display series info at bottom of book.html

This commit is contained in:
Damien De Paoli
2020-11-24 21:24:07 +11:00
parent 3a07c109a0
commit 9d74376033
2 changed files with 15 additions and 3 deletions

View File

@@ -109,7 +109,7 @@ class BookSchema(ma.SQLAlchemyAutoSchema):
publisher = ma.Nested(PublisherSchema, many=True)
genre = ma.Nested(GenreSchema, many=True)
loan = ma.Nested(LoanSchema, many=True)
series = ma.Nested(Book_Series_LinkSchema, many=True)
series = ma.Nested(SeriesSchema, many=True)
parent_ref = ma.Nested(Book_Sub_Book_LinkSchema, many=True)
child_ref = ma.Nested(Book_Sub_Book_LinkSchema, many=True)
class Meta: model = Book