From 581c8e07cb92639285e7972547799b958012a448 Mon Sep 17 00:00:00 2001 From: Odumosu Dipo Date: Fri, 20 Aug 2021 10:19:02 +0100 Subject: [PATCH] feat: add not_opened field to DataFrame --- apollo/submissions/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apollo/submissions/utils.py b/apollo/submissions/utils.py index f41899ac0..909f96cc1 100644 --- a/apollo/submissions/utils.py +++ b/apollo/submissions/utils.py @@ -26,7 +26,7 @@ def make_submission_dataframe(query, form, selected_tags=None, # the 'updated' field is required for results analysis columns = [ Submission.data[tag].label(tag) for tag in fields] + [ - Submission.updated + Submission.not_opened, Submission.updated ] # alias just in case the query is already joined to the tables below