From 60c1ebf80724386f8e5e92a4ecd1a1f8a7db4a68 Mon Sep 17 00:00:00 2001 From: Alexei Date: Thu, 3 Oct 2024 12:20:27 -0400 Subject: [PATCH] Fix display when there are no tracking types --- search_log.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/search_log.sh b/search_log.sh index f40b0ad..2ca7be1 100755 --- a/search_log.sh +++ b/search_log.sh @@ -56,7 +56,7 @@ show_most_recent_matches() { "SELECT tr.base, scan.start_time, b.name, - GROUP_CONCAT(DISTINCT tt.name), + COALESCE(GROUP_CONCAT(DISTINCT tt.name), 'none'), GROUP_CONCAT(site.fqdn) FROM tracking t JOIN tracker tr ON t.tracker_id = tr.id