branch | tls-sprint |
changeset 1182 | 78e4080252be |
parent 1175 | 96747df28a1f |
child 1263 | 01152fffd593 |
--- a/common/mixins.py Fri Mar 27 12:31:42 2009 +0100 +++ b/common/mixins.py Fri Mar 27 17:08:27 2009 +0100 @@ -234,7 +234,7 @@ @obsolete('use EntityFieldsForm.object_relation_vocabulary') def subject_in_state_vocabulary(self, rschema, limit=None): from cubicweb.web.form import EntityFieldsForm - return EntityFieldsForm(entity=self).subject_in_state_vocabulary(rtype, limit) + return EntityFieldsForm(self.req, None, entity=self).subject_in_state_vocabulary(rschema, limit)