Merge pull request #38183 from Shllokkk/print-format-fix

fix: remove links from filters in report print pdf
This commit is contained in:
Ejaaz Khan 2026-03-24 10:16:33 +05:30 committed by GitHub
commit 11768a600e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1722,7 +1722,7 @@ frappe.views.QueryReport = class QueryReport extends frappe.views.BaseList {
if (docfield.fieldtype === "Check") {
display_value = this.boolean_labels[cint(value)];
} else {
display_value = frappe.format(value, docfield);
display_value = frappe.format(value, docfield, { for_print: true });
}
return `<div class="filter-row">