diff --git a/beat/web/reports/static/reports/app/directives/tableItem.js b/beat/web/reports/static/reports/app/directives/tableItem.js index 20ccdc16ae71fe075b8d2c0010881e35c7b6dfd6..9a9ee7ab5719424cc1608c33ffb57a54943b85f1 100644 --- a/beat/web/reports/static/reports/app/directives/tableItem.js +++ b/beat/web/reports/static/reports/app/directives/tableItem.js @@ -72,11 +72,14 @@ angular.module('reportApp') }; // gets the field val for the given exp scope.getFieldVal = (expName, field) => { - let fVal = scope.tableables[expName] ? - scope.tableables[expName][field] : undefined; + const alias = scope.group.aliases[expName].length > 0 ? scope.group.aliases[expName] : expName; + + let fVal = scope.tableables[alias] ? + scope.tableables[alias][field] : undefined; let val; + if(field === scope.fields[0]){ - val = scope.group.aliases[expName].length > 0 ? scope.group.aliases[expName] : expName; + val = alias; } else if(!fVal){ val = '-'; } else {