Merge pull request #36365 from frappe/revert-35362-feat/link-route-options-from-filters
Revert "feat(link): Pre-fill new document with Link field filters"
This commit is contained in:
commit
21dcaecfec
1 changed files with 0 additions and 6 deletions
|
|
@ -180,12 +180,6 @@ frappe.ui.form.ControlLink = class ControlLink extends frappe.ui.form.ControlDat
|
|||
frappe.route_options = df.get_route_options_for_new_doc(this);
|
||||
} else {
|
||||
frappe.route_options = {};
|
||||
// Reuse set_custom_query to extract filters from link_filters, get_query, and df.filters
|
||||
let args = {};
|
||||
this.set_custom_query(args);
|
||||
if (args.filters) {
|
||||
Object.assign(frappe.route_options, args.filters);
|
||||
}
|
||||
}
|
||||
|
||||
// partially entered name field
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue