浏览代码

add only visible data for downloading report (#3620)

version-14
Manas Solanki 8 年前
committed by Rushabh Mehta
父节点
当前提交
91ebe48c48
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      frappe/desk/query_report.py

+ 1
- 1
frappe/desk/query_report.py 查看文件

@@ -159,7 +159,7 @@ def export_query():
elif not row: elif not row:
result.append([]) result.append([])
else: 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 from frappe.utils.xlsxutils import make_xlsx
xlsx_file = make_xlsx(result, "Query Report") xlsx_file = make_xlsx(result, "Query Report")


正在加载...
取消
保存