author | Aurelien Campeas <aurelien.campeas@logilab.fr> |
Wed, 08 Feb 2012 14:30:51 +0100 | |
branch | stable |
changeset 8201 | 2ceb28e6aa76 |
parent 8200 | 182d47d87a5c |
child 8203 | e0efa7583221 |
--- a/web/views/primary.py Wed Feb 08 14:32:35 2012 +0100 +++ b/web/views/primary.py Wed Feb 08 14:30:51 2012 +0100 @@ -419,7 +419,7 @@ __regid__ = 'attribute' __select__ = EntityView.__select__ & match_kwargs('rtype') - def entity_call(self, entity, rtype, role, **kwargs): + def entity_call(self, entity, rtype, role='subject', **kwargs): if self._cw.vreg.schema.rschema(rtype).final: self.w(entity.printable_value(rtype)) else: