monkey-front-core 0.0.146 → 0.0.147
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/esm2020/lib/core/specification-search/monkeyecx-specification-search.mjs +4 -4
- package/fesm2015/monkey-front-core.mjs +2 -2
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +2 -2
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/lib/core/specification-search/monkeyecx-specification-search.d.ts +1 -1
- package/monkey-front-core-0.0.147.tgz +0 -0
- package/package.json +1 -1
- package/monkey-front-core-0.0.146.tgz +0 -0
|
@@ -4301,7 +4301,7 @@ class MonkeyEcxSpecificationSearch {
|
|
|
4301
4301
|
throw new Error(`MonkeyEcxSpecificationSearch Error ${e}`);
|
|
4302
4302
|
}
|
|
4303
4303
|
}
|
|
4304
|
-
buildMoreThanOne(field, op = OpSearch.EQUAL) {
|
|
4304
|
+
buildMoreThanOne(field, op = OpSearch.EQUAL, addSingleQuotes = false) {
|
|
4305
4305
|
const self = this;
|
|
4306
4306
|
try {
|
|
4307
4307
|
if (!self[field])
|
|
@@ -4309,7 +4309,7 @@ class MonkeyEcxSpecificationSearch {
|
|
|
4309
4309
|
const filters = self[field]?.split(',')?.map((filter) => {
|
|
4310
4310
|
if (!filter)
|
|
4311
4311
|
return null;
|
|
4312
|
-
return { [field]: { [op]: `${filter}` } };
|
|
4312
|
+
return { [field]: { [op]: addSingleQuotes ? `'${filter}'` : `${filter}` } };
|
|
4313
4313
|
}).filter((val) => { return val; });
|
|
4314
4314
|
return filters || [];
|
|
4315
4315
|
}
|