This commit is contained in:
@@ -749,6 +749,8 @@ export default {
|
|||||||
filterItem.value
|
filterItem.value
|
||||||
);
|
);
|
||||||
//add only if not already in the collection (accidental double click)
|
//add only if not already in the collection (accidental double click)
|
||||||
|
console.log("addFilterCondition::find is:");
|
||||||
|
console.log(window.$gz._.find);
|
||||||
if (!window.$gz._.find(item.filter.items, filterItem)) {
|
if (!window.$gz._.find(item.filter.items, filterItem)) {
|
||||||
item.filter.items.push(filterItem);
|
item.filter.items.push(filterItem);
|
||||||
window.$gz.form.setFormState({
|
window.$gz.form.setFormState({
|
||||||
@@ -1430,8 +1432,9 @@ function getDisplayForFilter(
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Operator
|
||||||
var opDisplay = window.$gz._.find(vm.pickLists.stringFilterOperators, {
|
var opDisplay = window.$gz._.find(vm.pickLists.stringFilterOperators, {
|
||||||
id: filterValue
|
id: filterOperator
|
||||||
}).name;
|
}).name;
|
||||||
|
|
||||||
return opDisplay + ' "' + valueDisplay + '"';
|
return opDisplay + ' "' + valueDisplay + '"';
|
||||||
|
|||||||
Reference in New Issue
Block a user