mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Active flows title with status filter
This commit is contained in:
parent
499103865e
commit
e9d9204ba7
1 changed files with 13 additions and 1 deletions
|
|
@ -2329,7 +2329,19 @@ end
|
|||
-- #######################
|
||||
|
||||
function getFlowsTableTitle()
|
||||
local filter = (_GET["application"] or _GET["category"] or _GET["vhost"] or _GET["flow_status"] or "")
|
||||
local status_types = getFlowStatusTypes()
|
||||
local status_type
|
||||
|
||||
if _GET["flow_status"] then
|
||||
local flow_status_id = tonumber(_GET["flow_status"])
|
||||
if flow_status_id and status_types[flow_status_id] then
|
||||
status_type = status_types[flow_status_id]
|
||||
else
|
||||
status_type = _GET["flow_status"]
|
||||
end
|
||||
end
|
||||
|
||||
local filter = (_GET["application"] or _GET["category"] or _GET["vhost"] or status_type or "")
|
||||
local active_msg
|
||||
local filter_msg = ""
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue