mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
parent
2a04c8fe35
commit
0f507dba1c
1 changed files with 4 additions and 4 deletions
|
|
@ -413,11 +413,11 @@ local function engagedAlertsQuery(params)
|
|||
local entity_type_filter = tonumber(params.entity)
|
||||
local entity_value_filter = params.entity_val
|
||||
|
||||
local perPage = tonumber(params.perPage)
|
||||
local sortColumn = params.sortColumn
|
||||
local sortOrder = params.sortOrder
|
||||
local perPage = tonumber(params.perPage or 10)
|
||||
local sortColumn = params.sortColumn or "column_"
|
||||
local sortOrder = params.sortOrder or "desc"
|
||||
local sOrder = ternary(sortOrder == "desc", rev_insensitive, asc_insensitive)
|
||||
local currentPage = tonumber(params.currentPage)
|
||||
local currentPage = tonumber(params.currentPage or 1)
|
||||
local totalRows = 0
|
||||
|
||||
--~ tprint(string.format("type=%s sev=%s entity=%s val=%s", type_filter, severity_filter, entity_type_filter, entity_value_filter))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue