From: Sean Hammond Date: Thu, 16 Feb 2012 16:02:42 +0000 Subject: 'vocabulary_name' -> 'vocabulary_id' X-Git-Url: http://maxious.lambdacomplex.org/git/?p=ckanext-datagovau.git&a=commitdiff&h=df1fbdefdb38b3657639cecd416a72842bb5e0b1 --- 'vocabulary_name' -> 'vocabulary_id' Name of argument was changed in ckan core --- --- a/ckanext/example/forms.py +++ b/ckanext/example/forms.py @@ -188,7 +188,7 @@ c.publishers = [('Example publisher', 'Example publisher 2')] c.is_sysadmin = Authorizer().is_sysadmin(c.user) c.resource_columns = model.Resource.get_columns() - c.vocab_tags = get_action('tag_list')(context, {'vocabulary_name': self.vocab_name}) + c.vocab_tags = get_action('tag_list')(context, {'vocabulary_id': self.vocab_name}) ## This is messy as auths take domain object not data_dict pkg = context.get('package') or c.pkg