cwvreg.py
changeset 9469 032825bbacab
parent 9367 c8a5f7f43c03
child 9770 112c884b2d8d
--- a/cwvreg.py	Thu Jan 23 12:32:16 2014 +0100
+++ b/cwvreg.py	Thu Jan 23 13:47:28 2014 +0100
@@ -701,7 +701,7 @@
 
     def solutions(self, req, rqlst, args):
         def type_from_eid(eid, req=req):
-            return req.describe(eid)[0]
+            return req.entity_metas(eid)['type']
         return self.rqlhelper.compute_solutions(rqlst, {'eid': type_from_eid}, args)
 
     def parse(self, req, rql, args=None):