Fixes category name not applied in the Historical Page

This commit is contained in:
Matteo Biscosi 2023-03-31 10:55:03 +00:00
parent f6ce278e9e
commit 5436c4a3b4

View file

@ -548,7 +548,7 @@ local function dt_format_l7_category(l7_category)
}
if not isEmptyString(l7_category) then
local title = interface.getnDPICategoryName(tonumber(l7_category))
local title = getCategoryLabel(interface.getnDPICategoryName(tonumber(l7_category)), tonumber(l7_category))
formatted_cat["title"] = title
formatted_cat["label"] = shortenString(title, 12)