This commit is contained in:
@@ -415,16 +415,28 @@ export default {
|
||||
return;
|
||||
}
|
||||
}
|
||||
if(item.tempFilterOperator=="*NOVALUE*"){
|
||||
filterItem.op="=";
|
||||
|
||||
//BLANKS / NONBLANKS TOKENS?
|
||||
if (item.tempFilterOperator == "*NOVALUE*") {
|
||||
filterItem.op = "=";
|
||||
filterItem.value = "*NULL*";
|
||||
item.filter.items.push(filterItem);
|
||||
return;
|
||||
}
|
||||
|
||||
if (item.tempFilterOperator == "*HASVALUE*") {
|
||||
filterItem.op = "!=";
|
||||
filterItem.value = "*NULL*";
|
||||
item.filter.items.push(filterItem);
|
||||
return;
|
||||
}
|
||||
|
||||
item.filter.items.push({
|
||||
op: item.tempFilterOperator,
|
||||
value: item.tempFilterValue
|
||||
});
|
||||
console.log(item);
|
||||
//JUST REGULAR FILTER ITEM
|
||||
if (item.tempFilterOperator && item.tempFilterValue) {
|
||||
filterItem.op = item.tempFilterOperator;
|
||||
filterItem.value = item.tempFilterValue;
|
||||
item.filter.items.push(filterItem);
|
||||
}
|
||||
},
|
||||
form() {
|
||||
return window.$gz.form;
|
||||
|
||||
Reference in New Issue
Block a user