summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerghei MIHAI <smihai@entrouvert.com>2015-03-24 23:44:13 (GMT)
committerSerghei MIHAI <smihai@entrouvert.com>2015-03-24 23:45:07 (GMT)
commitd2be3edc5e63a5b633a09c12b81659bda7e785d6 (patch)
tree73eda0cc1fd8679246dc1b87340901c6ded6bc97
parentf5d8f6bc1238d165df71529b774a92a312c8290b (diff)
downloadckanext-ozwillo-organization-api-d2be3edc5e63a5b633a09c12b81659bda7e785d6.zip
ckanext-ozwillo-organization-api-d2be3edc5e63a5b633a09c12b81659bda7e785d6.tar.gz
ckanext-ozwillo-organization-api-d2be3edc5e63a5b633a09c12b81659bda7e785d6.tar.bz2
organization form affects organization controller (#6534)
-rw-r--r--ckanext/ozwillo_organization_api/plugin.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ckanext/ozwillo_organization_api/plugin.py b/ckanext/ozwillo_organization_api/plugin.py
index 23a43fc..1638797 100644
--- a/ckanext/ozwillo_organization_api/plugin.py
+++ b/ckanext/ozwillo_organization_api/plugin.py
@@ -165,6 +165,9 @@ class OrganizationForm(plugins.SingletonPlugin, DefaultOrganizationForm):
def group_types(self):
return ('organization',)
+ def group_controller(self):
+ return 'organization'
+
def form_to_db_schema(self):
schema = super(OrganizationForm, self).form_to_db_schema()
del schema['name']