--- 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):