changeset 1233 | 9f2760f15000 |
parent 1227 | e8b7c7407edf |
child 1263 | 01152fffd593 |
child 1609 | 79ec2b8e6466 |
--- a/web/widgets.py Sat Apr 04 14:45:12 2009 +0200 +++ b/web/widgets.py Sat Apr 04 14:46:03 2009 +0200 @@ -589,7 +589,7 @@ self.vocabfunc = vocabfunc def vocabulary(self, entity): - choices = self.vocabfunc(entity) + choices = self.vocabfunc(entity=entity) if self.sort: choices = sorted(choices) if self.rschema.rproperty(self.subjtype, self.objtype, 'internationalizable'):