mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Fixes incorrect links and empty data (#9306)
This commit is contained in:
parent
2f23fe973f
commit
cb84816e62
4 changed files with 420 additions and 398 deletions
|
|
@ -963,6 +963,9 @@ function driver:timeseries_top(options, top_tags)
|
|||
partials[name] = partials[name] + serie_point * step
|
||||
end
|
||||
end
|
||||
if statistics and statistics.total == 0 then
|
||||
goto continue
|
||||
end
|
||||
|
||||
available_items[serie_tags[top_tag]] = sum * step
|
||||
available_tags[serie_tags[top_tag]] = {serie_tags, partials}
|
||||
|
|
@ -971,6 +974,7 @@ function driver:timeseries_top(options, top_tags)
|
|||
statistics = statistics,
|
||||
tags = options_merged.tags
|
||||
}
|
||||
::continue::
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue