From 6c723600c543956b6eb30b7e170649e269a729cf Mon Sep 17 00:00:00 2001 From: Tim van Dijen <tvdijen@gmail.com> Date: Thu, 23 Aug 2018 14:57:49 +0200 Subject: [PATCH] statistics: fix table values --- modules/statistics/templates/statistics.twig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/statistics/templates/statistics.twig b/modules/statistics/templates/statistics.twig index 576a572d2..822e587e7 100644 --- a/modules/statistics/templates/statistics.twig +++ b/modules/statistics/templates/statistics.twig @@ -205,8 +205,8 @@ <td>{{ dd[0] }}</td> <td class="datacontent">{{ dd[1] }}</td> {% for key, value in topdelimiters %} - {% if results.slot is defined %} - <td class="datacontent">{{ results.slot.key }}</td> + {% if results[slot] is defined %} + <td class="datacontent">{{ results[slot][value] }}</td> {% else %} <td class="datacontent"> </td> {% endif %} -- GitLab