fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
outstanding migrations
[wolnelektury.git]
/
src
/
catalogue
/
models
/
collection.py
diff --git
a/src/catalogue/models/collection.py
b/src/catalogue/models/collection.py
index
0150055
..
15a4e2a
100644
(file)
--- a/
src/catalogue/models/collection.py
+++ b/
src/catalogue/models/collection.py
@@
-49,7
+49,7
@@
class Collection(models.Model):
def get_books(self):
from catalogue.models import Book
def get_books(self):
from catalogue.models import Book
- return Book.objects.filter(self.get_query())
.order_by('sort_key_author', 'sort_key')
+ return Book.objects.filter(self.get_query())
def flush_includes(self, languages=True):
if not languages:
def flush_includes(self, languages=True):
if not languages: