Merge pull request #11593 from josephalbaph/patch-4

fix: Added Columns correctly exported in Excel
This commit is contained in:
mergify[bot] 2020-09-30 07:16:59 +00:00 committed by GitHub
commit 985bf3042e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -167,7 +167,7 @@ def run(report_name, filters=None, user=None, ignore_prepared_report=False, cust
result = None
if report.prepared_report and not report.disable_prepared_report and not ignore_prepared_report:
if report.prepared_report and not report.disable_prepared_report and not ignore_prepared_report and not custom_columns:
if filters:
if isinstance(filters, string_types):
filters = json.loads(filters)