Fixes bug in setting author text on books
This commit is contained in:
parent
c6464633f7
commit
56ebd6e7c0
|
@ -147,7 +147,7 @@ class AbstractConnector(ABC):
|
||||||
|
|
||||||
for author in self.get_authors_from_data(data):
|
for author in self.get_authors_from_data(data):
|
||||||
book.authors.add(author)
|
book.authors.add(author)
|
||||||
book.author_text = ', '.join(a.name for a in book.authors.all())
|
book.author_text = ', '.join(a.display_name for a in book.authors.all())
|
||||||
book.save()
|
book.save()
|
||||||
|
|
||||||
if not update_cover:
|
if not update_cover:
|
||||||
|
|
Loading…
Reference in New Issue