From: Radek Czajka Date: Fri, 28 Jul 2023 12:11:00 +0000 (+0200) Subject: bugfix X-Git-Tag: 23.07.1~1 X-Git-Url: https://git.mdrn.pl/librarian.git/commitdiff_plain/e2acc67a478455184e5e714e63a61e78ad37d787?ds=inline;hp=d9dde9439398869b39fd68c5756d89ae4f27d52c bugfix --- diff --git a/src/librarian/dcparser.py b/src/librarian/dcparser.py index 34723f2..910f5e1 100644 --- a/src/librarian/dcparser.py +++ b/src/librarian/dcparser.py @@ -362,8 +362,8 @@ class BookInfo(WorkInfo): Field(DCNS('subject.genre'), 'genres', text.Genre, salias='genre', multiple=True, required=False), Field('category.legimi', 'legimi', text.LegimiCategory, required=False), - Field('category.thema.main', 'thema_main', text.ThemaCategory, required=False), - Field('category.thema', 'thema', text.MainThemaCategory, required=False, multiple=True), + Field('category.thema.main', 'thema_main', text.MainThemaCategory, required=False), + Field('category.thema', 'thema', text.ThemaCategory, required=False, multiple=True), Field(DCNS('subject.location'), 'location', required=False), Field(DCNS('contributor.translator'), 'translators',