From 1ee5eaa5c50813d1ee8448bb67d8722f1eaa6a5d Mon Sep 17 00:00:00 2001 From: Tim van Dijen <tvdijen@gmail.com> Date: Thu, 23 Aug 2018 14:20:22 +0200 Subject: [PATCH] statistics: fix column headers in time series --- modules/statistics/templates/statistics.twig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/statistics/templates/statistics.twig b/modules/statistics/templates/statistics.twig index 7fb375dfa..202a964ec 100644 --- a/modules/statistics/templates/statistics.twig +++ b/modules/statistics/templates/statistics.twig @@ -186,9 +186,9 @@ <th>Time</th> <th>Total</th> {% for key, value in topdelimiters %} - {% set keyName = key %} - {% if delimiterPresentation[key] is defined %} - {% set keyName = delimiterPresentation[key] %} + {% set keyName = value %} + {% if delimiterPresentation[value] is defined %} + {% set keyName = delimiterPresentation[value] %} {% endif %} <th>{{ keyName }}</th> {% endfor %} -- GitLab