Section 27: add the Follow-up closed column to the CSV export
This commit is contained in:
1 parent
de29734ab2
commit
7823e45c14
1 file changed
+3
-1
@@ -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
|
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
|
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:
|
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
|
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
|
the stored statuses (section 23.1), so it is written as text like every other
|
||||||
@@ -40,6 +41,7 @@ COLUMNS = (
|
|||||||
("security_status", "Security status"),
|
("security_status", "Security status"),
|
||||||
("contact_info_verified", "Contact details confirmed"),
|
("contact_info_verified", "Contact details confirmed"),
|
||||||
("comments", "Overall comments"),
|
("comments", "Overall comments"),
|
||||||
|
("closed_alerts", "Follow-up closed"),
|
||||||
)
|
)
|
||||||
HEADERS = tuple(header for _, header in COLUMNS)
|
HEADERS = tuple(header for _, header in COLUMNS)
|
||||||
# Stored as 0/1 and written as No/Yes, matching the history view.
|
# Stored as 0/1 and written as No/Yes, matching the history view.
|
||||||
|
|||||||
Reference in new issue
Block a user