瀏覽代碼

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:
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…
取消
儲存