Merge pull request #3573 from pratu16x7/search-fixes

[fix] skipped awesome bar options
This commit is contained in:
Makarand Bauskar 2017-06-27 18:00:32 +05:30 committed by GitHub
commit a4b6cd9db6

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;