Przeglądaj źródła

fix export report in csv (#3362)

version-14
Manas Solanki 8 lat temu
committed by Nabin Hait
rodzic
commit
f66a6686d6
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      frappe/public/js/frappe/views/reports/query_report.js

+ 1
- 1
frappe/public/js/frappe/views/reports/query_report.js Wyświetl plik

@@ -821,7 +821,7 @@ frappe.views.QueryReport = Class.extend({
options:"Excel\nCSV", default:"Excel", reqd: 1},
function(data) {
var view_data = frappe.slickgrid_tools.get_view_data(me.columns, me.dataView);
var result = view_data.map(row => [row.splice(1)]);
var result = view_data.map(row => row.splice(1));

// rows filtered by inline_filter of slickgrid
var visible_idx = view_data.map(row => row[0]).filter(sr_no => sr_no !== 'Sr No');


Ładowanie…
Anuluj
Zapisz