X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6d42bc478e3d1bd90eb294464748c21e4de0fc63..f1143b5bcf508dcfe7f72e90faee72cf72a2392a:/src/catalogue/feeds.py?ds=sidebyside 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: