X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/818b7ba3c373f6a10c70224d8650cdcbbd3bcd75..f3339efe0d7ffa1199a113108c0e2f6f6b07afe2:/apps/catalogue/feeds.py diff --git a/apps/catalogue/feeds.py b/apps/catalogue/feeds.py index 8bb21c32..a185ae39 100755 --- a/apps/catalogue/feeds.py +++ b/apps/catalogue/feeds.py @@ -13,6 +13,9 @@ class PublishTrackFeed(Feed): def get_object(self, request, slug): return get_object_or_404(Chunk.tag_model, slug=slug) + def item_title(self, item): + return item.title + def items(self, obj): return Book.objects.filter(public=True, _on_track__gte=obj.ordering ).order_by('-_on_track', 'title')