Add default filter on ID when listview loaded from Toolber Search
This commit is contained in:
parent
daeceb8696
commit
1b43b73887
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ frappe.ui.toolbar.Search = frappe.ui.toolbar.SelectorDialog.extend({
|
|||
this._super({
|
||||
title: frappe._("Search"),
|
||||
execute: function(val) {
|
||||
frappe.set_route("List", val);
|
||||
frappe.set_route("List", val, {"name": "%"});
|
||||
},
|
||||
help: frappe._("Shortcut") + ": Ctrl+G"
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue