@adempiere/grpc-api
Advanced tools
Comparing version 1.5.1 to 1.5.2
@@ -296,3 +296,3 @@ /************************************************************************************* | ||
); | ||
return convertedValue; | ||
@@ -514,8 +514,8 @@ }, | ||
* @param {string} tableName | ||
* @param {string} filters | ||
* @param {string} query | ||
* @param {string} whereClause | ||
* @param {string} referenceUuid | ||
* @param {mixed} value | ||
* @param {array} valuesList mixed values | ||
* @param {array} filters [{ columnName: String, value: Mixed, valueTo: Mixed, values: Array, operator: String}] | ||
* @param {array} valuesList mixed values | ||
* @param {array} orderByColumnsList [{ columnName: String, orderType: Number }] | ||
@@ -531,5 +531,6 @@ * @param {string} orderByClause | ||
referenceUuid, | ||
value, | ||
valuesList = [], | ||
filters = [], | ||
orderByClause, | ||
valuesList = [], | ||
orderByColumnsList = [], | ||
@@ -546,9 +547,17 @@ limit | ||
// add values | ||
// add value | ||
if (!convertValues.isEmptyValue(value)) { | ||
const valueGrpc = convertValues.convertValueToGRPC({ | ||
value | ||
}) | ||
criteria.addValues(valueGrpc) | ||
} | ||
// add values list | ||
if (!convertValues.isEmptyValue(valuesList)) { | ||
valuesList.forEach(itemValue => { | ||
const value = convertValues.convertValueToGRPC({ | ||
const valueGrpc = convertValues.convertValueToGRPC({ | ||
value: itemValue | ||
}) | ||
criteria.addValues(value) | ||
criteria.addValues(valueGrpc) | ||
}) | ||
@@ -555,0 +564,0 @@ } |
{ | ||
"name": "@adempiere/grpc-api", | ||
"version": "1.5.1", | ||
"version": "1.5.2", | ||
"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
2361569
68936