Skip to content

Commit

Permalink
Merge branch 'version-15' of https://github.com/zaviagodev/frappe int…
Browse files Browse the repository at this point in the history
…o version-15-unstable
  • Loading branch information
umer2001 committed Nov 20, 2024
2 parents ba0eed6 + f58a0d7 commit 8225dd5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions frappe/public/js/frappe/form/controls/link.js
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,10 @@ frappe.ui.form.ControlLink = class ControlLink extends frappe.ui.form.ControlDat
r.message = r.message.concat(custom__link_options);
}

if(frappe?.custom_options &&(frappe?.custom_options[me.df.fieldname] ?? []).length) {
r.message = r.message.concat(frappe.custom_options[me.df.fieldname]);
}

// advanced search
if (locals && locals["DocType"]) {
// not applicable in web forms
Expand Down

0 comments on commit 8225dd5

Please sign in to comment.