forked from Techsystech/web
commit
5c874f9d65
|
@ -26,7 +26,8 @@ odoo.define(
|
|||
queryElem_val.operator === operator
|
||||
);
|
||||
if (!queryElem) {
|
||||
const {groupId} = this.state.filters[filterId];
|
||||
if (isShiftKey) {
|
||||
const groupId = Math.random();
|
||||
this.state.query.push({
|
||||
filterId,
|
||||
groupId,
|
||||
|
@ -34,11 +35,11 @@ odoo.define(
|
|||
value,
|
||||
operator,
|
||||
});
|
||||
if (isShiftKey) {
|
||||
const group_id = Math.random();
|
||||
} else {
|
||||
const {groupId} = this.state.filters[filterId];
|
||||
this.state.query.push({
|
||||
filterId,
|
||||
group_id,
|
||||
groupId,
|
||||
label,
|
||||
value,
|
||||
operator,
|
||||
|
|
Loading…
Reference in New Issue