fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixes in new layout.
[wolnelektury.git]
/
src
/
catalogue
/
api
/
views.py
diff --git
a/src/catalogue/api/views.py
b/src/catalogue/api/views.py
index
bcfe0ad
..
885df24
100644
(file)
--- a/
src/catalogue/api/views.py
+++ b/
src/catalogue/api/views.py
@@
-27,7
+27,7
@@
book_tag_categories = ['author', 'epoch', 'kind', 'genre']
class CollectionList(ListAPIView):
class CollectionList(ListAPIView):
- queryset = Collection.objects.
all(
)
+ queryset = Collection.objects.
filter(listed=True
)
serializer_class = serializers.CollectionListSerializer
serializer_class = serializers.CollectionListSerializer