web/views/startup.py
changeset 3460 e4843535db25
parent 3457 0924d0d08d60
child 3503 06bced8edddf
--- a/web/views/startup.py	Thu Sep 24 00:23:32 2009 +0200
+++ b/web/views/startup.py	Thu Sep 24 00:24:21 2009 +0200
@@ -125,7 +125,7 @@
             etype = eschema.type
             label = display_name(req, etype, 'plural')
             nb = req.execute('Any COUNT(X) WHERE X is %s' % etype)[0][0]
-            url = self.build_url(etype)
+            url = self._cw.build_url(etype)
             etypelink = u'&#160;<a href="%s">%s</a> (%d)' % (
                 xml_escape(url), label, nb)
             yield (label, etypelink, self.add_entity_link(eschema, req))