fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Covers, child books, editor notes in catalogue.
[redakcja.git]
/
src
/
depot
/
models.py
diff --git
a/src/depot/models.py
b/src/depot/models.py
index
15c0d3a
..
41a6bdf
100644
(file)
--- a/
src/depot/models.py
+++ b/
src/depot/models.py
@@
-169,10
+169,10
@@
class SiteBookPublish(models.Model):
try:
changes = [
p.change for p in
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.publish(self, changes=changes)
+ self.site
_book.site
.publish(self, changes=changes)
except Exception:
self.status = 110
except Exception:
self.status = 110