Fixing bug preventing csv imports to match via title/author

This commit is contained in:
Mouse Reeve 2021-08-10 14:30:28 -07:00
parent eabe886347
commit 1b4db49035

View file

@ -80,7 +80,7 @@ class ImportItem(models.Model):
else:
# don't fall back on title/author search is isbn is present.
# you're too likely to mismatch
self.get_book_from_title_author()
self.book = self.get_book_from_title_author()
def get_book_from_isbn(self):
"""search by isbn"""