Merge pull request #9272 from nextchamp-saqib/cust-report-fix
fix: report doesn't have attribute custom report
This commit is contained in:
commit
bacba5fc81
1 changed files with 1 additions and 1 deletions
|
|
@ -229,7 +229,7 @@ def get_prepared_report_result(report, filters, dn="", user=None):
|
|||
"status": "Completed",
|
||||
"filters": json.dumps(filters),
|
||||
"owner": user,
|
||||
"report_name": report.custom_report or report.report_name
|
||||
"report_name": report.get('custom_report') or report.get('report_name')
|
||||
},
|
||||
order_by = 'creation desc'
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue