fix(prepared-report): Do not lose the first row in Prepared Report data
This commit is contained in:
parent
7660ac8f98
commit
28e36b201d
1 changed files with 1 additions and 1 deletions
|
|
@ -200,7 +200,7 @@ def get_prepared_report_result(report, filters, dn="", user=None):
|
|||
if data:
|
||||
latest_report_data = {
|
||||
"columns": json.loads(doc.columns) if doc.columns else data[0],
|
||||
"result": data[1:]
|
||||
"result": data
|
||||
}
|
||||
|
||||
latest_report_data.update({
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue