[FIX] the default operator on 'char' fields is 'ilike'
bzr revid: xmo@openerp.com-20110324180129-mv36bxo7dswv7q06
This commit is contained in:
parent
f9e10d85a1
commit
3c46de8c98
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue