[fix] skipped awesome bar options

This commit is contained in:
pratu16x7 2017-06-27 17:53:10 +05:30
parent 3c58a54a8d
commit 7595ea6891

View file

@ -18,7 +18,6 @@ frappe.search.AwesomeBar = Class.extend({
autoFirst: true,
list: [],
filter: function (text, term) {
this.get_item(text.value).boo = "foo";
return true;
},
data: function (item, input) {
@ -194,6 +193,7 @@ frappe.search.AwesomeBar = Class.extend({
}
} else {
out.push(option);
routes.push("");
}
});
return out;