diff --git a/ckanext/odsh/views/feed.py b/ckanext/odsh/views/feed.py index 3e9db6b4c55090643ffa6e4e26bc76b82c3af873..e8b3649215b8a4a2f068ee4c37b8afdedbf8c0fa 100644 --- a/ckanext/odsh/views/feed.py +++ b/ckanext/odsh/views/feed.py @@ -39,15 +39,16 @@ def custom(): } item_count, results = ckan_feed._package_search(data_dict) - + navigation_urls = ckan_feed._navigation_urls( request.args, item_count=item_count, limit=data_dict['rows'], - named_route='feeds.custom') + controller=u'feeds', + action=u'custom') - feed_url = ckan_feed._feed_url(request.args, - named_route='feeds.custom') + feed_url = ckan_feed._feed_url(request.args, controller=u'feeds', + action=u'custom') atom_url = h._url_with_params('/feeds/custom.atom', list(search_params.items()))