fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
basic flickr support
[redakcja.git]
/
apps
/
catalogue
/
feeds.py
diff --git
a/apps/catalogue/feeds.py
b/apps/catalogue/feeds.py
index
bf7e179
..
a185ae3
100755
(executable)
--- a/
apps/catalogue/feeds.py
+++ b/
apps/catalogue/feeds.py
@@
-13,5
+13,9
@@
class PublishTrackFeed(Feed):
def get_object(self, request, slug):
return get_object_or_404(Chunk.tag_model, slug=slug)
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):
def items(self, obj):
- return Book.objects.filter(_on_track__gte=obj.ordering).order_by('-_on_track', 'title')[:100]
+ return Book.objects.filter(public=True, _on_track__gte=obj.ordering
+ ).order_by('-_on_track', 'title')