Use name field only for author name
It feels janky to remove a more granular name designation, but all these first/last name fields were algorithmically populated by a dubious process of splitting the name by a space character. If it makes sense to have first/last name fields, it should be re-added with some consideration.
This commit is contained in:
@ -178,8 +178,7 @@ class AbstractConnector(AbstractMinimalConnector):
|
||||
author_text = []
|
||||
for author in self.get_authors_from_data(data):
|
||||
book.authors.add(author)
|
||||
if author.display_name:
|
||||
author_text.append(author.display_name)
|
||||
author_text.append(author.name)
|
||||
book.author_text = ', '.join(author_text)
|
||||
book.save()
|
||||
|
||||
|
Reference in New Issue
Block a user