Skip to content
Draft
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions ckanext/canada/plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ def update_config(self, config):
ckanext.canada:tables/dac.yaml
ckanext.canada:tables/nap.yaml
ckanext.canada:tables/experiment.yaml
ckanext.canada:tables/suppliervax.yaml
"""
config['ckan.search.show_all_types'] = True
config['search.facets.limit'] = 200 # because org list
Expand All @@ -322,6 +323,7 @@ def update_config(self, config):
ckanext.canada:schemas/info.yaml
ckanext.canada:schemas/prop.yaml
"""
config['scheming.organization_schemas'] = 'ckanext.canada:schemas/organization.yaml'

# Enable our custom DCAT profile.
config['ckanext.dcat.rdf.profile'] = 'canada_dcat'
Expand Down Expand Up @@ -531,6 +533,10 @@ def get_validators(self):
validators.user_read_only,
'user_read_only_json':
validators.user_read_only_json,
'no_future_date':
validators.no_future_date,
'canada_sort_prop_status':
validators.canada_sort_prop_status,
Comment thread
wardi marked this conversation as resolved.
Outdated
'canada_sort_prop_status':
validators.canada_sort_prop_status,
'no_future_date':
Expand Down
Loading