From 64c876831486c1696453e0fe3c073bb3761ba713 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Fri, 23 Dec 2022 19:43:31 -0600 Subject: [PATCH] Fix checkbox values when re-running a report --- tailbone/views/reports.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tailbone/views/reports.py b/tailbone/views/reports.py index 640dc6a9..101c541b 100644 --- a/tailbone/views/reports.py +++ b/tailbone/views/reports.py @@ -461,6 +461,8 @@ class ReportOutputView(ExportMasterView): value = self.request.GET[param.name] if param.type is datetime.date: value = app.parse_date(value) + elif param.type is bool: + value = self.rattail_config.parse_bool(value) form.set_default(param.name, value) # if form validates, start generating new report output; show progress page