Merge pull request #9191 from nextchamp-saqib/query-report-fix

fix: load latest custom report instead of latest reference report
This commit is contained in:
mergify[bot] 2020-01-07 08:51:25 +00:00 committed by GitHub
commit 25a602642f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -229,8 +229,9 @@ def get_prepared_report_result(report, filters, dn="", user=None):
"status": "Completed",
"filters": json.dumps(filters),
"owner": user,
"report_name": report.report_name
}
"report_name": report.custom_report or report.report_name
},
order_by = 'creation desc'
)
if doc_list: