问题
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!
来源:https://stackoverflow.com/questions/54987552/ckan-2-9-0-iroute-before-map-not-invoking-custom-controller