@fluxhub/fluxhub-lib 10.0.345 → 10.0.347

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.
@@ -5707,6 +5707,7 @@
5707
5707
  };
5708
5708
  FHGridComponent.prototype.calcola_filtro = function (obj_filtro, filter_v, key, add_end) {
5709
5709
  if (add_end === void 0) { add_end = true; }
5710
+ console.log('calcola_filtro ', key, add_end);
5710
5711
  var b_filter = false;
5711
5712
  if (obj_filtro.type != null) {
5712
5713
  if (obj_filtro.filter != null) {
@@ -5941,12 +5942,16 @@
5941
5942
  }
5942
5943
  }
5943
5944
  else {
5944
- console.log('like_f ', like_f);
5945
- b_filter = true;
5946
- filter_v = filter_v + " and ";
5947
- filter_v = filter_v + "(" + like_f + ")";
5945
+ if (like_f != '') {
5946
+ console.log('like_f ', like_f);
5947
+ b_filter = true;
5948
+ if (add_end)
5949
+ filter_v = filter_v + " and ";
5950
+ filter_v = filter_v + "(" + like_f + ")";
5951
+ }
5948
5952
  }
5949
5953
  }
5954
+ console.log('return filter_v ', filter_v);
5950
5955
  return filter_v;
5951
5956
  };
5952
5957
  FHGridComponent.prototype.onBtExport = function () {