Fix checkbox values when re-running a report
This commit is contained in:
parent
c5bd40793b
commit
64c8768314
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue