From 700d16825e35aff81a9658097c67f77466a3fb57 Mon Sep 17 00:00:00 2001 From: Eduardo Grajeda Date: Sun, 28 Jun 2015 23:45:24 -0300 Subject: [PATCH] [#1749] Change the way of getting the number of followers of a dataset in the CKAN's JavaScript documentation. --- .../templates/ajax_snippets/example_theme_popover.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckanext/example_theme/v18_snippet_api/templates/ajax_snippets/example_theme_popover.html b/ckanext/example_theme/v18_snippet_api/templates/ajax_snippets/example_theme_popover.html index 032077f6616..b4198bd2b2d 100644 --- a/ckanext/example_theme/v18_snippet_api/templates/ajax_snippets/example_theme_popover.html +++ b/ckanext/example_theme/v18_snippet_api/templates/ajax_snippets/example_theme_popover.html @@ -10,7 +10,7 @@
{{ _('Followers') }}
-
{{ h.get_action('dataset_follower_count', {'id': id}) }}
+
{{ h.follow_count('dataset', id) }}
{{ _('Resources') }}
{{ num_resources }}