From 37f3ee92951cdf0d9742b37a5a5f839675b996ff Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Fri, 6 Oct 2023 15:16:20 +0200 Subject: [PATCH 1/1] fix --- src/depot/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/depot/models.py b/src/depot/models.py index 0f26a19f..41a6bdfa 100644 --- a/src/depot/models.py +++ b/src/depot/models.py @@ -169,7 +169,7 @@ class SiteBookPublish(models.Model): try: changes = [ p.change for p in - self.sitechunkpublish_set.order_by('change__chunk__number') + self.sitechunkpublish_set.order_by('change__tree__number') ] self.site_book.site.publish(self, changes=changes) -- 2.20.1