ckan 2.9.0 iroute before_map not invoking custom c

2019-08-26 17:05发布

I recently updated ckan to 2.9.0. After the update, my custom controller for dataset.search will not be invoked from the plugin anymore. I can see that the templates of the plugins are still working, however, the customer controller is not invoked.

def before_map(self, map):

    # Hook in our custom user controller at the points of creation
    map.connect('dataset',controller='ckanext.facet.controller:CustomPakcageController',
                action='search')

It was working fine before the update. Any clue what changed or I did wrong in the file? Thanks!

标签: ckan
0条回答
登录 后发表回答