equal
deleted
inserted
replaced
118 """add options to search among all entities of each possible type""" |
118 """add options to search among all entities of each possible type""" |
119 options = [] |
119 options = [] |
120 eid = entity.eid |
120 eid = entity.eid |
121 pending_inserts = self.req.get_pending_inserts(eid) |
121 pending_inserts = self.req.get_pending_inserts(eid) |
122 rtype = rschema.type |
122 rtype = rschema.type |
123 form = self.vreg.select('forms', 'edition', self.req, entity=entity) |
123 form = self.vreg['forms'].select('edition', self.req, entity=entity) |
124 field = form.field_by_name(rschema, target, entity.e_schema) |
124 field = form.field_by_name(rschema, target, entity.e_schema) |
125 limit = self.req.property_value('navigation.combobox-limit') |
125 limit = self.req.property_value('navigation.combobox-limit') |
126 for eview, reid in form.form_field_vocabulary(field, limit): |
126 for eview, reid in form.form_field_vocabulary(field, limit): |
127 if reid is None: |
127 if reid is None: |
128 options.append('<option class="separator">-- %s --</option>' |
128 options.append('<option class="separator">-- %s --</option>' |