Fix score sort errors while going back to community mode

Fixes #3635
This commit is contained in:
emanuele-f 2020-03-26 15:08:56 +01:00
parent 3144bc8bdf
commit 7c6a84e851
2 changed files with 9 additions and 5 deletions

View file

@ -200,6 +200,8 @@ if(hosts_stats ~= nil) then
custom_column_key, custom_column_format = custom_column_utils.label2criteriakey(sortColumn)
local val = custom_column_utils.hostStatsToColumnValue(hosts_stats[key], custom_column_key, false)
vals[val + postfix] = key
else
vals[key] = key
end
end
end