mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
Fixes category label not correctly displayed (#6767)
This commit is contained in:
parent
a4c00a9ac2
commit
8f26f7740b
8 changed files with 9 additions and 8 deletions
|
|
@ -19,7 +19,7 @@ local query = string.lower(_GET["query"])
|
|||
local categories = interface.getnDPICategories()
|
||||
|
||||
for cat, id in pairsByKeys(categories, asc_insensitive) do
|
||||
cat = getCategoryLabel(cat)
|
||||
cat = getCategoryLabel(cat, id)
|
||||
|
||||
if string.contains(string.lower(cat), query) then
|
||||
results[#results + 1] = {name=cat, key=id}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue