mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Fixes category label not correctly displayed (#6767)
This commit is contained in:
parent
a4c00a9ac2
commit
8f26f7740b
8 changed files with 9 additions and 8 deletions
|
|
@ -592,7 +592,7 @@ function graph_common.printSeries(options, tags, start_time, end_time, base_url,
|
|||
local by_category = {}
|
||||
|
||||
for _, serie in pairs(series) do
|
||||
by_category[getCategoryLabel(serie.category)] = serie.category
|
||||
by_category[getCategoryLabel(serie.category, interface.getnDPICategoryId(serie.category))] = serie.category
|
||||
end
|
||||
|
||||
for label, category in pairsByKeys(by_category, asc_insensitive) do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue