Skip to content

Commit

Permalink
fix: link fields were not displaying the dropdown values in the porta…
Browse files Browse the repository at this point in the history
…l#18421
  • Loading branch information
Poorvi-R-Bhat committed Jul 16, 2024
1 parent 1a8248a commit e04b944
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frappe/public/js/frappe/form/controls/link.js
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ frappe.ui.form.ControlLink = class ControlLink extends frappe.ui.form.ControlDat
doctype: doctype,
ignore_user_permissions: me.df.ignore_user_permissions,
reference_doctype: me.get_reference_doctype() || "",
page_length: cint(frappe.boot.sysdefaults.link_field_results_limit) || 10,
page_length: cint(frappe.boot.sysdefaults?.link_field_results_limit) || 10,
};

me.set_custom_query(args);
Expand Down

0 comments on commit e04b944

Please sign in to comment.