Add the usage of shortenString in the historical flow info field with a max length of 128

This commit is contained in:
Nicolo Maio 2024-02-22 10:13:04 +01:00
parent 340c44142e
commit 2e45c170de

View file

@ -194,7 +194,7 @@ end
local function format_historical_info(flow)
local historical_flow_utils = require "historical_flow_utils"
local info_field = historical_flow_utils.get_historical_url(flow["INFO"], "info", flow["INFO"], true, flow["INFO"], true)
local info_field = historical_flow_utils.get_historical_url(shortenString(flow["INFO"], 128), "info", flow["INFO"], true, flow["INFO"], true)
return {
label = i18n("db_explorer.info"),