Implement support for alert filters using a dialog (WIP)

This commit is contained in:
Alfredo Cardigliano 2021-05-13 19:02:28 +02:00
parent bc6008be28
commit 064c20db29
13 changed files with 362 additions and 100 deletions

View file

@ -525,6 +525,12 @@ function alert_utils.notification_timestamp_rev(a, b)
return (a.tstamp > b.tstamp)
end
function alert_utils.severity_rev(a, b)
return (a.severity_id > b.severity_id)
end
-- #################################
--
-- Returns a summary of the alert as readable text
function alert_utils.formatAlertNotification(notif, options)
local defaults = {