@adempiere/grpc-api
Advanced tools
Comparing version 1.5.2 to 1.5.3
@@ -565,4 +565,9 @@ /************************************************************************************* | ||
filters.forEach(condition => { | ||
let parsedCondition = JSON.parse(condition) | ||
criteria.addConditions(convertValues.convertConditionToGRPC({ | ||
let parsedCondition = condition; | ||
// set with get method is string value | ||
if (convertValues.typeOfValue(condition) === 'String') { | ||
parsedCondition = JSON.parse(condition); | ||
} | ||
const criteriaGrpc = convertValues.convertConditionToGRPC({ | ||
columnName: parsedCondition.column_name, | ||
@@ -573,4 +578,5 @@ value: parsedCondition.value, | ||
operator: parsedCondition.operator | ||
})) | ||
}) | ||
}); | ||
criteria.addConditions(criteriaGrpc); | ||
}); | ||
} | ||
@@ -577,0 +583,0 @@ |
{ | ||
"name": "@adempiere/grpc-api", | ||
"version": "1.5.2", | ||
"version": "1.5.3", | ||
"description": "ADempiere Web Store write in Javascript for a node service", | ||
@@ -5,0 +5,0 @@ "author": "Yamel Senih", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2361705