titile_field and search_field in Link field Script Report

Viewed 12

How to make the filter show the full_name at the top and email (this is id) at the bottom? This report filter is link to a doctype tabUser.

i refer to this https://github.com/techmaxsolucoes/title_links

enter image description here

enter image description here

frappe.query_reports["Loan Processing Late Update Report"] = {
    "filters": [
     {
            fieldname: "mortgage",
            fieldtype: "Link",
            label: __("Mortgage Officer"),
            options: "User",
            width: "600",
            onchange: () => {
                frappe.query_report.data = "";
                frappe.query_report.refresh();
            }
        }
0 Answers
Related