From 68fc6eecdfaf57c083763f8302e5e3935e5fb115 Mon Sep 17 00:00:00 2001
From: Jan David Mol <mol@astron.nl>
Date: Tue, 5 Apr 2022 08:10:56 +0200
Subject: [PATCH] L2SS-685: Further configure dashboard defaults

---
 docker-compose/alerta-web/alertad.conf | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/docker-compose/alerta-web/alertad.conf b/docker-compose/alerta-web/alertad.conf
index 8650866ee..2e95d1428 100644
--- a/docker-compose/alerta-web/alertad.conf
+++ b/docker-compose/alerta-web/alertad.conf
@@ -15,8 +15,11 @@ SHELVE_TIMEOUT = 2 * 3600
 DATE_FORMAT_MEDIUM_DATE = "dd DD/MM HH:mm"
 DATE_FORMAT_LONG_DATE   = "yyyy-MM-DD HH:mm:ss.sss"
 
-# Default columns to list
+# Default overview settings
 COLUMNS = ['severity', 'status', 'lastReceiveTime', 'environment', 'resource', 'lofarDevice', 'lofarAttribute', 'event', 'text']
+DEFAULT_FILTER = {'status': ['open']}
+SORT_LIST_BY = "createTime"
+AUTO_REFRESH_INTERVAL = 5000 # ms
 
 # ------------------------------------
 #    Plugin configuration
-- 
GitLab