mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Adds sortable Score column to flows list
This commit is contained in:
parent
e1dd9f9c5c
commit
38facb051a
7 changed files with 47 additions and 5 deletions
|
|
@ -305,9 +305,7 @@ for _key, value in ipairs(flows_stats) do -- pairsByValues(vals, funct) do
|
|||
local info = value["info"]
|
||||
|
||||
if isScoreEnabled() then
|
||||
if(value["score"] > 0) then
|
||||
info = info .. string.format(" [<b>".. string.lower(i18n("score")) ..": %u</b>]", value["score"])
|
||||
end
|
||||
record["column_score"] = format_utils.formatValue(value["score"])
|
||||
end
|
||||
|
||||
record["column_info"] = info
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue