This commit is contained in:
yuri
2016-11-21 10:28:23 +02:00
parent 01a8fbd5b1
commit 09097dba4a
-13
View File
@@ -121,19 +121,6 @@ Espo.define('views/fields/text', 'views/fields/base', function (Dep) {
}
},
/*fetchSearch: function () {
var value = this.$element.val();
if (value) {
var data = {
type: 'like',
value: '%' + value + '%',
valueText: value
};
return data;
}
return false;
},*/
fetchSearch: function () {
var type = this.$el.find('[name="'+this.name+'-type"]').val() || 'startsWith';