web/views/tableview.py
changeset 8092 bc2a7c9fe266
parent 8089 0bce018bc7d7
child 8094 bedf36fb17f1
equal deleted inserted replaced
8091:fc75f76c81aa 8092:bc2a7c9fe266
   852             kwargs['rtype'] = self.colid
   852             kwargs['rtype'] = self.colid
   853             kwargs['role'] = self.role
   853             kwargs['role'] = self.role
   854         else:
   854         else:
   855             rset = entity.related(self.colid, self.role)
   855             rset = entity.related(self.colid, self.role)
   856         if self.subvid is not None:
   856         if self.subvid is not None:
   857             kwargs['subvid'] = 'subvid'
   857             kwargs['subvid'] = self.subvid
   858         self._cw.view(self.vid, rset, self.fallbackvid, **kwargs)
   858         self._cw.view(self.vid, rset, self.fallbackvid, **kwargs)
   859 
   859 
   860     def default_header(self):
   860     def default_header(self):
   861         return display_name(self._cw, self.colid, self.role)
   861         return display_name(self._cw, self.colid, self.role)
   862 
   862