From df01d1db53566e368e909ee947245b463f52b95f Mon Sep 17 00:00:00 2001 From: Tom Morrell Date: Fri, 20 Dec 2024 15:59:49 -0800 Subject: [PATCH] serializers: improve book section bibtex serializer --- invenio_rdm_records/resources/serializers/bibtex/schema.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/invenio_rdm_records/resources/serializers/bibtex/schema.py b/invenio_rdm_records/resources/serializers/bibtex/schema.py index b542b576b..88eb1406c 100644 --- a/invenio_rdm_records/resources/serializers/bibtex/schema.py +++ b/invenio_rdm_records/resources/serializers/bibtex/schema.py @@ -52,7 +52,10 @@ class BibTexSchema(BaseSerializerSchema, CommonFieldsMixin): BibTexFormatter.book, BibTexFormatter.booklet, ], - "publication-section": [BibTexFormatter.incollection], + "publication-section": [ + BibTexFormatter.in_collection, + BibTexFormatter.in_book, + ], "publication-article": [BibTexFormatter.article], "publication-preprint": [BibTexFormatter.unpublished], "publication-thesis": [BibTexFormatter.thesis],