@fluxhub/fluxhub-lib 10.0.344 → 10.0.346

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) {
@@ -5901,7 +5902,7 @@
5901
5902
  key +
5902
5903
  ") like '%" +
5903
5904
  obj_filtro.values[i].replace("'", "$'").replace("*", "$*").replace("?", "$?").replace("[", "$[").replace("]", "$]").replace("!", "'$").toUpperCase() +
5904
- "' ESCAPE '$'";
5905
+ "%' ESCAPE '$'";
5905
5906
  }
5906
5907
  else {
5907
5908
  include_null_value = true;
@@ -5943,9 +5944,12 @@
5943
5944
  else {
5944
5945
  console.log('like_f ', like_f);
5945
5946
  b_filter = true;
5947
+ if (add_end)
5948
+ filter_v = filter_v + " and ";
5946
5949
  filter_v = filter_v + "(" + like_f + ")";
5947
5950
  }
5948
5951
  }
5952
+ console.log('return filter_v ', filter_v);
5949
5953
  return filter_v;
5950
5954
  };
5951
5955
  FHGridComponent.prototype.onBtExport = function () {