Skip to content
Snippets Groups Projects
Commit 1e571ad6 authored by Thorge Petersen's avatar Thorge Petersen
Browse files

Fixed deprecated IPackageController reference for before_view to before_dataset_view

parent c8068bc6
Branches
Tags
1 merge request!50Upgraded to CKAN 2.10
......@@ -267,7 +267,7 @@ class OdshPlugin(plugins.SingletonPlugin, DefaultTranslation, DefaultDatasetForm
return pkg_dict
def before_view(self, pkg_dict):
def before_dataset_view(self, pkg_dict):
'''
adds the following key-value-pairs to pkg_dict:
# key: 'is_new', value: True if the dataset has been created within the last month
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment