We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a16980 commit 143e16dCopy full SHA for 143e16d
src/utils/convert-filter.ts
@@ -41,6 +41,28 @@ const convertFilter = (filter) => {
41
],
42
};
43
}
44
+ case 'boolean': {
45
+ let bool;
46
+ if (value === 'true') bool = true;
47
+ if (value === 'false') bool = false;
48
+ if (bool === undefined) return memo;
49
+
50
+ if (isArray) {
51
+ return {
52
+ ...memo,
53
+ [property.name()]: {
54
+ [Op.in]: [
55
+ ...(previousValue[Op.in] || []),
56
+ bool,
57
+ ],
58
+ },
59
+ };
60
+ }
61
62
63
+ [property.name()]: bool,
64
65
66
case 'number': {
67
if (!Number.isNaN(Number(value))) {
68
if (isArray) {
0 commit comments