changeset 11765 | 9cb215e833b0 |
parent 11249 | 0ff4c02a1871 |
child 11767 | 432f87a63057 |
--- a/cubicweb/cwvreg.py Thu Oct 06 12:15:50 2016 +0200 +++ b/cubicweb/cwvreg.py Sat Oct 01 11:56:27 2016 +0200 @@ -558,7 +558,7 @@ def solutions(self, req, rqlst, args): def type_from_eid(eid, req=req): - return req.entity_metas(eid)['type'] + return req.entity_type(eid) return self.rqlhelper.compute_solutions(rqlst, {'eid': type_from_eid}, args) def parse(self, req, rql, args=None):