web/views/primary.py
changeset 4382 6fb02edd05da
parent 4252 6c4f109c2b03
child 4384 f7b22d552b13
--- a/web/views/primary.py	Tue Jan 26 20:29:52 2010 +0100
+++ b/web/views/primary.py	Tue Jan 26 20:30:35 2010 +0100
@@ -127,7 +127,7 @@
             else:
                 rset = self._relation_rset(entity, rschema, role, dispctrl)
                 if rset:
-                    value = self.view(vid, rset)
+                    value = self._cw.view(vid, rset)
                 else:
                     value = None
             if self.skip_none and (value is None or value == ''):