From 0a6491f331f86bec9fe22ad6b0361b496fefb009 Mon Sep 17 00:00:00 2001 From: Jan Szejko Date: Tue, 18 Oct 2016 11:45:22 +0200 Subject: [PATCH] fix sort_key_author assign on publish --- src/catalogue/models/book.py | 1 + 1 file changed, 1 insertion(+) 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 -- 2.20.1