diff --git a/ckan/logic/converters.py b/ckan/logic/converters.py index 8801387da2a..066520cc1e8 100644 --- a/ckan/logic/converters.py +++ b/ckan/logic/converters.py @@ -77,11 +77,11 @@ def callable(key, data, errors, context): if not v: raise Invalid(_('Tag vocabulary "%s" does not exist') % vocab) - tags = {} + tags = [] for k in data.keys(): if k[0] == 'tags': if data[k].get('vocabulary_id') == v.id: - tags[k] = data[k] - data[key] = ', '.join([t['name'] for t in tags.values()]) + tags.append(data[k]['name']) + data[key] = tags return callable