X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/60c3eb6ecbe5c000aa4d24344e85d2ed00d8983c..41c0fb950cf2b7b29a2106114247e9ca70f2609e:/src/catalogue/models/book.py diff --git a/src/catalogue/models/book.py b/src/catalogue/models/book.py index 5ac999eeb..f9f6ac345 100644 --- a/src/catalogue/models/book.py +++ b/src/catalogue/models/book.py @@ -386,6 +386,7 @@ class Book(models.Model): for child in notify_cover_changed: child.parent_cover_changed() + book.save() # update sort_key_author cls.published.send(sender=cls, instance=book) return book