Browse Source

[feature] print only what is expanded in reports extended for pdf's (#2106)

version-14
RobertSchouten 8 years ago
committed by Rushabh Mehta
parent
commit
5806686186
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      frappe/public/js/frappe/views/reports/query_report.js

+ 1
- 1
frappe/public/js/frappe/views/reports/query_report.js View File

@@ -185,7 +185,7 @@ frappe.views.QueryReport = Class.extend({

if(this.html_format) {
var content = frappe.render(this.html_format,
{data: this.dataView.getItems(), filters:this.get_values(), report:this});
{data: frappe.slickgrid_tools.get_filtered_items(this.dataView), filters:this.get_values(), report:this});

//Render Report in HTML
var html = frappe.render_template("print_template",


Loading…
Cancel
Save