From c0e0b5d94191a3a7e2360d69e146e91659e62900 Mon Sep 17 00:00:00 2001 From: Jari Voutilainen Date: Wed, 17 Apr 2024 15:56:39 +0300 Subject: [PATCH] Update column names also in organization specific reports --- ckanext/matomo/templates/report/dataset_analytics.html | 2 +- ckanext/matomo/templates/report/resource_analytics.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ckanext/matomo/templates/report/dataset_analytics.html b/ckanext/matomo/templates/report/dataset_analytics.html index 59d2578..49f8137 100644 --- a/ckanext/matomo/templates/report/dataset_analytics.html +++ b/ckanext/matomo/templates/report/dataset_analytics.html @@ -40,7 +40,7 @@

{% trans %}Most viewed datasets{% endtrans %} {% trans %}Initial entrance{% endtrans %} {% trans %}Entrances of total views{% endtrans %} {% trans %}Downloads{% endtrans %} - {% trans %}API events{% endtrans %} + {% trans %}Number of API requests (package_show){% endtrans %} {% for row in data['table'] %} {% set package_title = h.get_translated(row, 'package_title') or row.get('package_name') %} diff --git a/ckanext/matomo/templates/report/resource_analytics.html b/ckanext/matomo/templates/report/resource_analytics.html index 0a6ffe9..7194429 100644 --- a/ckanext/matomo/templates/report/resource_analytics.html +++ b/ckanext/matomo/templates/report/resource_analytics.html @@ -9,7 +9,7 @@

{% trans %}Organizations that have published data{% endtrans %} {% trans %}Organization{% endtrans %} {% trans %}Downloads{% endtrans %} - {% trans %}API events{% endtrans %} + {% trans %}Number of API requests (datastore_search, datastore_search_sql){% endtrans %} {% for row in data['table'] %} {% set org_name = row.get('organization_name') %}