You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should we add num_followers to ckan.logic.action.get.package_show to prevent from using deprecated h.get_action() in ckan/templates/package/snippets/info.html? I will send a pull request later.
The text was updated successfully, but these errors were encountered:
Just wondering if it is okay to change:
h.SI_number_span(h.get_action('dataset_follower_count', {'id': pkg.id})) }} in ckan/templates/package/snippets/info.html
to something like
h.SI_number_span(h.follow_count('dataset', pkg.id)) to get the number of followers of a dataset (the h.follow_count is a built-in helper function).
Should we add num_followers to ckan.logic.action.get.package_show to prevent from using deprecated h.get_action() in ckan/templates/package/snippets/info.html? I will send a pull request later.
The text was updated successfully, but these errors were encountered: