mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Make filters optional in query template
This commit is contained in:
parent
29f885bb8e
commit
a84995c125
1 changed files with 1 additions and 1 deletions
|
|
@ -453,7 +453,7 @@ if ntop.isEnterpriseL() then
|
|||
|
||||
-- Allow filters defined by the query only
|
||||
defined_tags = {}
|
||||
if #preset.filters.items > 0 then
|
||||
if preset.filters and preset.filters.items and #preset.filters.items > 0 then
|
||||
for _, item in ipairs(preset.filters.items) do
|
||||
if not item.input or item.input ~= "fixed" then
|
||||
local tag_key = item.name -- db_columns_to_tags[item.name]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue