@fluxhub/fluxhub-lib 10.0.139 → 10.0.141
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 +11 -2
- 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 +12 -3
- package/fesm2015/fluxhub-fluxhub-lib.js +11 -2
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -8168,7 +8168,6 @@ class FHGridComponent {
|
|
|
8168
8168
|
});
|
|
8169
8169
|
}
|
|
8170
8170
|
calcola_filtro(obj_filtro, filter_v, key, add_end = true) {
|
|
8171
|
-
console.log('obj_filtro ', obj_filtro);
|
|
8172
8171
|
let b_filter = false;
|
|
8173
8172
|
if (obj_filtro.type != null) {
|
|
8174
8173
|
if (obj_filtro.filter != null) {
|
|
@@ -8361,7 +8360,17 @@ class FHGridComponent {
|
|
|
8361
8360
|
else {
|
|
8362
8361
|
include_null_value = true;
|
|
8363
8362
|
}
|
|
8364
|
-
|
|
8363
|
+
let num_all = -1;
|
|
8364
|
+
this.columnDefs.map((v) => {
|
|
8365
|
+
console.log('v ', v);
|
|
8366
|
+
if (v != null)
|
|
8367
|
+
if (v.filterParams != null)
|
|
8368
|
+
if (v.filterParams.values != null)
|
|
8369
|
+
if (v.field == key && v.filter == 'agSetColumnFilter')
|
|
8370
|
+
num_all = v.filterParams.values.length;
|
|
8371
|
+
});
|
|
8372
|
+
console.log('obj_filtro.values.length!=num_all ', obj_filtro.values.length, num_all);
|
|
8373
|
+
if (sq != "" && obj_filtro.values.length != num_all) {
|
|
8365
8374
|
b_filter = true;
|
|
8366
8375
|
if (add_end)
|
|
8367
8376
|
filter_v = filter_v + " and ";
|