mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Fixes incorrect href
This commit is contained in:
parent
5ed245e509
commit
a97ff92e80
5 changed files with 33 additions and 6 deletions
|
|
@ -29,7 +29,7 @@ function network_utils.network2record(ifId, network)
|
|||
|
||||
local network_link = "<A HREF='"..ntop.getHttpPrefix()..'/lua/hosts_stats.lua?network='..network["network_id"].."' title='"..network["network_key"].."'>"..getFullLocalNetworkName(network["network_key"])..'</A>'
|
||||
|
||||
network["host_score_ratio"] = math.floor(network["score"] / network["num_hosts"])
|
||||
network["host_score_ratio"] = math.floor((network["score"] or 0) / (network["num_hosts"] or 0))
|
||||
|
||||
record["column_id"] = network_link
|
||||
record["column_score"] = format_high_num_value_for_tables(network, "score")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue