Merge pull request #191 from sartography/bug/312_prospective_filters
Fixes using the "Clear" button when a prospective is saved
This commit is contained in:
commit
012b43dd72
|
@ -455,9 +455,9 @@ class ProcessInstanceReportService:
|
||||||
|
|
||||||
instance_metadata_aliases = {}
|
instance_metadata_aliases = {}
|
||||||
stock_columns = ProcessInstanceReportService.get_column_names_for_model(ProcessInstanceModel)
|
stock_columns = ProcessInstanceReportService.get_column_names_for_model(ProcessInstanceModel)
|
||||||
if report_filter.report_column_list:
|
if isinstance(report_filter.report_column_list, list):
|
||||||
process_instance_report.report_metadata["columns"] = report_filter.report_column_list
|
process_instance_report.report_metadata["columns"] = report_filter.report_column_list
|
||||||
if report_filter.report_filter_by_list:
|
if isinstance(report_filter.report_filter_by_list, list):
|
||||||
process_instance_report.report_metadata["filter_by"] = report_filter.report_filter_by_list
|
process_instance_report.report_metadata["filter_by"] = report_filter.report_filter_by_list
|
||||||
|
|
||||||
for column in process_instance_report.report_metadata["columns"]:
|
for column in process_instance_report.report_metadata["columns"]:
|
||||||
|
|
Loading…
Reference in New Issue