Skip to content

Commit

Permalink
Merge pull request frappe#27126 from Poorvi-R-Bhat/link-dropdown
Browse files Browse the repository at this point in the history
fix: link fields were not displaying the dropdown values in the portal#18421
  • Loading branch information
akhilnarang committed Jul 16, 2024
2 parents f569823 + e04b944 commit 8c74cc2
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 8c74cc2

Please sign in to comment.