mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-03 17:30:11 +00:00
Sort severity colors in chart
This commit is contained in:
parent
93d8fb6a24
commit
f5138b71ac
2 changed files with 2 additions and 2 deletions
|
|
@ -41,7 +41,7 @@ local res = {
|
|||
|
||||
local count_data = flow_alert_store:count_by_severity_and_time()
|
||||
|
||||
for _, severity in pairs(alert_severities) do
|
||||
for _, severity in pairsByField(alert_severities, "severity_id", rev) do
|
||||
res.series[#res.series + 1] = {
|
||||
name = i18n(severity.i18n_title),
|
||||
data = count_data[severity.severity_id],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue