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.
@@ -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
  }