[FIX] the default operator on 'char' fields is 'ilike'

bzr revid: xmo@openerp.com-20110324180129-mv36bxo7dswv7q06
This commit is contained in:
Xavier Morel 2011-03-24 19:01:29 +01:00
parent f9e10d85a1
commit 3c46de8c98
1 changed files with 1 additions and 0 deletions

View File

@ -682,6 +682,7 @@ openerp.base.search.Field = openerp.base.search.Input.extend({
}
});
openerp.base.search.CharField = openerp.base.search.Field.extend({
default_operator: 'ilike',
get_value: function () {
return this.$element.val();
}