From 4315f18efe835ec248fdedcaa38219f41f4195c4 Mon Sep 17 00:00:00 2001 From: Martin Geno Date: Thu, 2 Nov 2017 14:59:45 +0100 Subject: [PATCH] [BUGFIX] site_code attribute in statistics --- lib/proportions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/proportions.js b/lib/proportions.js index 27dd7e3..f0acdf6 100644 --- a/lib/proportions.js +++ b/lib/proportions.js @@ -106,7 +106,7 @@ define(['d3-interpolate', 'snabbdom', 'filters/genericnode', 'helper'], return _.t('node.deactivated'); }); - var siteDict = count(nodes, ['nodeinfo', 'site_code'], function (d) { + var siteDict = count(nodes, ['site_code'], function (d) { if (config.siteNames) { config.siteNames.forEach(function (t) { if (d === t.site) {