fix: compare with content value for Link fieldtypes
This commit is contained in:
parent
2a81365adb
commit
e589ef87f6
1 changed files with 4 additions and 1 deletions
|
|
@ -1204,7 +1204,10 @@ frappe.views.QueryReport = class QueryReport extends frappe.views.BaseList {
|
|||
width: parseInt(column.width) || null,
|
||||
editable: false,
|
||||
compareValue: compareFn,
|
||||
format: (value, row, column, data) => {
|
||||
format: (value, row, column, data, for_filter = false) => {
|
||||
if (for_filter && column?.fieldtype === "Link") {
|
||||
return value || "";
|
||||
}
|
||||
if (this.report_settings.formatter) {
|
||||
return this.report_settings.formatter(
|
||||
value,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue