Browse Source

add only visible data for downloading report (#3620)

version-14
Manas Solanki 8 years ago
committed by Rushabh Mehta
parent
commit
91ebe48c48
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      frappe/desk/query_report.py

+ 1
- 1
frappe/desk/query_report.py View File

@@ -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…
Cancel
Save