web/formfields.py
changeset 2680 66472d85d548
parent 2678 0308dc159b96
child 2726 03e7a6efd960
child 3384 f76a38731bc1
--- a/web/formfields.py	Tue Aug 04 17:02:18 2009 +0200
+++ b/web/formfields.py	Tue Aug 04 17:11:50 2009 +0200
@@ -452,7 +452,7 @@
         # first see if its specified by __linkto form parameters
         linkedto = entity.linked_to(self.name, self.role)
         if linkedto:
-            entities = (req.eid_rset(eid).get_entity(0, 0) for eid in linkedto)
+            entities = (req.entity_from_eid(eid) for eid in linkedto)
             return [(entity.view('combobox'), entity.eid) for entity in entities]
         # it isn't, check if the entity provides a method to get correct values
         res = []