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:
commit
25a602642f
1 changed files with 3 additions and 2 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue