fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Rename publishable to approved, add profile option to approve by default.
[redakcja.git]
/
src
/
depot
/
models.py
diff --git
a/src/depot/models.py
b/src/depot/models.py
index
0f26a19
..
41a6bdf
100644
(file)
--- 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)