Fix checkbox values when re-running a report

This commit is contained in:
Lance Edgar 2022-12-23 19:43:31 -06:00
parent c5bd40793b
commit 64c8768314

View file

@ -461,6 +461,8 @@ class ReportOutputView(ExportMasterView):
value = self.request.GET[param.name] value = self.request.GET[param.name]
if param.type is datetime.date: if param.type is datetime.date:
value = app.parse_date(value) value = app.parse_date(value)
elif param.type is bool:
value = self.rattail_config.parse_bool(value)
form.set_default(param.name, value) form.set_default(param.name, value)
# if form validates, start generating new report output; show progress page # if form validates, start generating new report output; show progress page