@crystaldesign/diva-backoffice 24.4.0-beta.2 → 24.4.0-beta.4

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.
@@ -332,9 +332,9 @@ function parseFilter(filters, prefilter) {
332
332
  ands.push([field, [values[i], values[i + 1]]]);
333
333
  }
334
334
  } else {
335
- var or = typeof values[2] == 'boolean'; //filter[1][2]; // [field, [value, operator, or?]]
336
- var inFilter = !or && values[values.length - 1] === 'in';
335
+ var or = values[2]; //filter[1][2]; // [field, [value, operator, or?]]
337
336
  var index = or === true ? 0 : or;
337
+ var inFilter = values[values.length - 1] === 'in';
338
338
  if (index == undefined || index === false || inFilter) {
339
339
  if (inFilter) {
340
340
  var inValues = values.slice(0, values.length - 1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystaldesign/diva-backoffice",
3
- "version": "24.4.0-beta.2",
3
+ "version": "24.4.0-beta.4",
4
4
  "license": "COMMERCIAL",
5
5
  "devDependencies": {
6
6
  "@testing-library/jest-dom": "^5.15.0",
@@ -50,5 +50,5 @@
50
50
  },
51
51
  "module": "build/esm/index.js",
52
52
  "types": "./build/types/backoffice/src/index.d.ts",
53
- "gitHead": "3d009878baffa37422e6682b4a289f332ed79aa8"
53
+ "gitHead": "f5ab70a81eaf4af750956c9881a04de86c5e504a"
54
54
  }