@webtypen/webframez-core 0.2.63 → 0.2.64
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.
|
@@ -523,7 +523,7 @@ class Datatable {
|
|
|
523
523
|
value = parseFloat(value);
|
|
524
524
|
}
|
|
525
525
|
else if (filterEl.cast === "boolean") {
|
|
526
|
-
value = value === true || value === 1 || value.toString() === "1" || value.toString() === "true" ? true :
|
|
526
|
+
value = value === true || value === 1 || value.toString() === "1" || value.toString() === "true" ? true : { $ne: true };
|
|
527
527
|
}
|
|
528
528
|
}
|
|
529
529
|
if (value !== undefined) {
|
package/package.json
CHANGED
|
@@ -299,7 +299,7 @@ export class Datatable {
|
|
|
299
299
|
} else if (entry.value === "false") {
|
|
300
300
|
value = false;
|
|
301
301
|
}
|
|
302
|
-
} else if(valueClean) {
|
|
302
|
+
} else if (valueClean) {
|
|
303
303
|
if (valueClean.toString().trim() === "==null") {
|
|
304
304
|
value = null;
|
|
305
305
|
} else if (valueClean.toString().trim() === "!=null") {
|
|
@@ -522,7 +522,7 @@ export class Datatable {
|
|
|
522
522
|
} else if (filterEl.cast === "float") {
|
|
523
523
|
value = parseFloat(value);
|
|
524
524
|
} else if (filterEl.cast === "boolean") {
|
|
525
|
-
value = value === true || value === 1 || value.toString() === "1" || value.toString() === "true" ? true :
|
|
525
|
+
value = value === true || value === 1 || value.toString() === "1" || value.toString() === "true" ? true : { $ne: true };
|
|
526
526
|
}
|
|
527
527
|
}
|
|
528
528
|
|