@fluxhub/fluxhub-lib 10.0.142 → 10.0.144
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/bundles/fluxhub-fluxhub-lib.umd.js +12 -10
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/controls/fhgrid.js +13 -11
- package/fesm2015/fluxhub-fluxhub-lib.js +12 -10
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -8361,7 +8361,7 @@ class FHGridComponent {
|
|
|
8361
8361
|
include_null_value = true;
|
|
8362
8362
|
}
|
|
8363
8363
|
let num_all = -1;
|
|
8364
|
-
let countryFilterComponent = this.gridOptions.api.getFilterInstance(
|
|
8364
|
+
let countryFilterComponent = this.gridOptions.api.getFilterInstance(key);
|
|
8365
8365
|
console.log('countryFilterComponent ', countryFilterComponent);
|
|
8366
8366
|
if (countryFilterComponent != null) {
|
|
8367
8367
|
let model = countryFilterComponent.getModel();
|
|
@@ -8370,15 +8370,17 @@ class FHGridComponent {
|
|
|
8370
8370
|
num_all = model.values.length;
|
|
8371
8371
|
}
|
|
8372
8372
|
console.log('obj_filtro.values.length!=num_all ', obj_filtro.values.length, num_all);
|
|
8373
|
-
if (sq != ""
|
|
8374
|
-
|
|
8375
|
-
|
|
8376
|
-
|
|
8377
|
-
|
|
8378
|
-
|
|
8379
|
-
|
|
8380
|
-
|
|
8381
|
-
filter_v
|
|
8373
|
+
if (sq != "") {
|
|
8374
|
+
if (obj_filtro.values.length != num_all) {
|
|
8375
|
+
b_filter = true;
|
|
8376
|
+
if (add_end)
|
|
8377
|
+
filter_v = filter_v + " and ";
|
|
8378
|
+
if (!include_null_value)
|
|
8379
|
+
filter_v = filter_v + key + " in (" + sq + ")";
|
|
8380
|
+
else
|
|
8381
|
+
filter_v =
|
|
8382
|
+
filter_v + "(" + key + " in (" + sq + ") or " + key + " is null)";
|
|
8383
|
+
}
|
|
8382
8384
|
}
|
|
8383
8385
|
else {
|
|
8384
8386
|
b_filter = true;
|