[FIX] incorrect handling of 'None of the following condition must match' advanced search combinator
Introduced during 'simple style fixes' (sic) of rev xmo@openerp.com-20110812094541-zeb5lz6nk0jgq21y bzr revid: xmo@openerp.com-20120606143721-004xllr8j28sgga9
This commit is contained in:
commit
cff511da83
|
@ -1193,7 +1193,7 @@ openerp.web.search.ExtendedSearchGroup = openerp.web.OldWidget.extend({
|
|||
}).compact().value();
|
||||
var choice = this.$element.find(".searchview_extended_group_choice").val();
|
||||
var op = choice == "all" ? "&" : "|";
|
||||
return choice == "none" ? ['!'] : [].concat(
|
||||
return (choice == "none" ? ['!'] : []).concat(
|
||||
_.map(_.range(_.max([0,props.length - 1])), function() { return op; }),
|
||||
props);
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue