X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/75de44ecc913abf2424e0e94369517d253c70467..0b1d7187cd243b29566418c3b09fa8043ed53bee:/src/catalogue/api/views.py diff --git a/src/catalogue/api/views.py b/src/catalogue/api/views.py index bcfe0adfb..885df24aa 100644 --- 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): - queryset = Collection.objects.all() + queryset = Collection.objects.filter(listed=True) serializer_class = serializers.CollectionListSerializer