Skip to content

Commit

Permalink
[#368] Use the correct schema to validate against in controllers.grou…
Browse files Browse the repository at this point in the history
…p.history
  • Loading branch information
domoritz committed Mar 6, 2013
1 parent 470c7f9 commit 38b8c21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/controllers/group.py
Expand Up @@ -671,7 +671,7 @@ def history(self, id):

context = {'model': model, 'session': model.Session,
'user': c.user or c.author,
'schema': self._form_to_db_schema()}
'schema': self._db_to_form_schema()}
data_dict = {'id': id}
try:
c.group_dict = self._action('group_show')(context, data_dict)
Expand Down

0 comments on commit 38b8c21

Please sign in to comment.