From 7823e45c14e3f46ca5458d66539e935900871431 Mon Sep 17 00:00:00 2001 From: ai-bot Date: Fri, 9 Oct 2026 09:06:56 +0000 Subject: [PATCH] Section 27: add the Follow-up closed column to the CSV export --- export.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/export.py b/export.py index f0b3408..e4b6ba4 100644 --- a/export.py +++ b/export.py @@ -4,7 +4,8 @@ One row per key check. A submission records one key, so a new export has one row per submission; records saved before section 19 can have up to three rows that share a ``check_id``. The security statuses have more than one value per submission, so they are joined into a single cell as ``Label: value; Label: -value``. +value``. The closures that belong to a key are joined the same way, into the +last column (section 27). Status values are written exactly as stored. The contact confirmation is one of the stored statuses (section 23.1), so it is written as text like every other @@ -40,6 +41,7 @@ COLUMNS = ( ("security_status", "Security status"), ("contact_info_verified", "Contact details confirmed"), ("comments", "Overall comments"), + ("closed_alerts", "Follow-up closed"), ) HEADERS = tuple(header for _, header in COLUMNS) # Stored as 0/1 and written as No/Yes, matching the history view.