[primary view] should specify rtype/role when selecting a rtype view stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 16 Sep 2010 11:27:26 +0200
branchstable
changeset 6255 e2d51d6ba654
parent 6254 936e98213598
child 6256 da77d3f95079
[primary view] should specify rtype/role when selecting a rtype view
web/views/primary.py
--- a/web/views/primary.py	Thu Sep 16 11:26:55 2010 +0200
+++ b/web/views/primary.py	Thu Sep 16 11:27:26 2010 +0200
@@ -159,7 +159,7 @@
                 try:
                     rview = self._cw.vreg['views'].select(
                         vid, self._cw, rset=entity.cw_rset, row=entity.cw_row,
-                        col=entity.cw_col, dispctrl=dispctrl)
+                        col=entity.cw_col, dispctrl=dispctrl, rtype=rschema, role=role)
                 except NoSelectableObject:
                     continue
                 self.w(u'<div class="section">')