add only visible data for downloading report (#3620)
This commit is contained in:
parent
6d1c652cfe
commit
91ebe48c48
1 changed files with 1 additions and 1 deletions
|
|
@ -159,7 +159,7 @@ def export_query():
|
|||
elif not row:
|
||||
result.append([])
|
||||
else:
|
||||
result = result + data.result
|
||||
result = result + [d for i,d in enumerate(data.result) if (i+1 in visible_idx)]
|
||||
|
||||
from frappe.utils.xlsxutils import make_xlsx
|
||||
xlsx_file = make_xlsx(result, "Query Report")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue