@fluxhub/fluxhub-lib 10.0.139 → 10.0.140

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.
@@ -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
- if (sq != "") {
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;
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 ";