web/views/xmlrss.py
changeset 2789 39712da6f397
parent 2650 18aec79ec3a3
child 3185 bd0126d17e83
--- a/web/views/xmlrss.py	Wed Aug 12 18:40:52 2009 +0200
+++ b/web/views/xmlrss.py	Wed Aug 12 19:09:32 2009 +0200
@@ -117,7 +117,7 @@
     __select__ = non_final_entity() & one_line_rset()
 
     def feed_url(self):
-        return self.entity(0, 0).rss_feed_url()
+        return self.rset.get_entity(0, 0).rss_feed_url()
 
 
 class RSSIconBox(box.BoxTemplate):