web/widgets.py
changeset 2680 66472d85d548
parent 2312 af4d8f75c5db
child 2996 866a2c135c33
--- a/web/widgets.py	Tue Aug 04 17:02:18 2009 +0200
+++ b/web/widgets.py	Tue Aug 04 17:11:50 2009 +0200
@@ -617,7 +617,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
         if not self.required(entity):