@sdflc/backend-helpers 1.0.76 → 1.0.77
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/BaseGateway.js +2 -1
- package/package.json +1 -1
package/build/BaseGateway.js
CHANGED
|
@@ -130,7 +130,8 @@ class BaseGateway {
|
|
|
130
130
|
let filtersAppliedQty = 1;
|
|
131
131
|
if (arr.length > 0) {
|
|
132
132
|
filtersAppliedQty++;
|
|
133
|
-
|
|
133
|
+
const idName = this.getIdFieldUpdateRemove();
|
|
134
|
+
query = query.whereIn(idName, arr.map((item) => item[idName]));
|
|
134
135
|
}
|
|
135
136
|
if (hasStatus === true) {
|
|
136
137
|
filtersAppliedQty++;
|
package/package.json
CHANGED