all audiobooks ever feed instead of public audiobooks in all formats
[wolnelektury.git] / apps / catalogue / feeds.py
index 356bb02..c79e058 100644 (file)
@@ -42,8 +42,8 @@ class AudiobookFeed(Feed):
         if type == 'all':
             objects = objects.filter(type__in=('mp3', 'ogg', 'daisy'))
         else:
-            objects = objects.filter(type=type)
-        return objects[:20]
+            objects = objects.filter(type=type)[:20]
+        return objects
 
     def item_title(self, item):
         return item.name