X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/d4489421ccb20d02ad94d4782478a9a38d438ec5..d2b0cc75d0835ad5384bec638fea6ea244eadb40:/src/catalogue/feeds.py diff --git a/src/catalogue/feeds.py b/src/catalogue/feeds.py index d33b79963..8658c8c55 100644 --- a/src/catalogue/feeds.py +++ b/src/catalogue/feeds.py @@ -39,6 +39,7 @@ class AudiobookFeed(Feed): def items(self, args): objects = models.BookMedia.objects.order_by('-uploaded_at') + objects = objects.filter(book__findable=True) if type == 'all': objects = objects.filter(type__in=('mp3', 'ogg', 'daisy')) else: