Add info and app-client-criteria. (#7343) (#7348)

This commit is contained in:
Nicolò Maio 2023-03-27 16:19:39 +02:00 committed by GitHub
parent b60204d4fe
commit 9c73a3e7f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 442 additions and 259 deletions

View file

@ -183,6 +183,7 @@ function getFlowsFilter()
local talking_with = _GET["talking_with"]
local client = _GET["client"]
local server = _GET["server"]
local flow_info = _GET["flow_info"]
if sortColumn == nil or sortColumn == "column_" or sortColumn == "" then
sortColumn = getDefaultTableSort("flows")
@ -379,6 +380,10 @@ function getFlowsFilter()
pageinfo["server"] = server
end
if not isEmptyString(flow_info) then
pageinfo["flow_info"] = flow_info
end
return pageinfo
end
@ -2264,6 +2269,10 @@ function getFlowsTableTitle()
end
end
if(_GET["flow_info"] ~= nil) then
active_msg = active_msg .. i18n("flows_page.flow_info", {flow_info =_GET["flow_info"]})
end
if(_GET["port"] ~= nil) then
active_msg = active_msg .. i18n("flows_page.port", {port=_GET["port"]})