remove awesomplete filtering frappe/erpnext#8275 (#3071)

This commit is contained in:
Prateeksha Singh 2017-04-26 14:55:40 +05:30 committed by Rushabh Mehta
parent 44832f0094
commit a601360d5e

View file

@ -1343,10 +1343,7 @@ frappe.ui.form.ControlLink = frappe.ui.form.ControlData.extend({
};
},
filter: function(item, input) {
var d = this.get_item(item.value);
return Awesomplete.FILTER_CONTAINS(d.value, '__link_option') ||
Awesomplete.FILTER_CONTAINS(d.value, input) ||
Awesomplete.FILTER_CONTAINS(d.description, input);
return true;
},
item: function (item, input) {
d = this.get_item(item.value);