web/views/editviews.py
branchtls-sprint
changeset 1526 1d4750bd8526
parent 1454 1668989a8f0e
child 1977 606923dff11b
--- a/web/views/editviews.py	Tue Apr 28 17:41:32 2009 +0200
+++ b/web/views/editviews.py	Tue Apr 28 20:05:31 2009 +0200
@@ -120,7 +120,7 @@
         pending_inserts = self.req.get_pending_inserts(eid)
         rtype = rschema.type
         form = self.vreg.select_object('forms', 'edition', self.req,
-                                       entity=entity)
+                                       self.rset, entity=entity)
         field = form.field_by_name(rschema, target, entity.e_schema)
         limit = self.req.property_value('navigation.combobox-limit')
         for eview, reid in form.form_field_vocabulary(field, limit):