X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/75de44ecc913abf2424e0e94369517d253c70467..d96e1d2348113e3fc0c7961d83d278933d090a6d:/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