@fluxhub/fluxhub-lib 10.0.506 → 10.0.507

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.
@@ -6583,7 +6583,7 @@
6583
6583
  // this._toast.error("ignorato termine: " + arr[i] + " troppo corto");
6584
6584
  if (arr_F_1.length == 0)
6585
6585
  return;
6586
- var ss = "";
6586
+ var ss_1 = "";
6587
6587
  var _loop_1 = function (i) {
6588
6588
  var ss_r = "";
6589
6589
  for (var y = 0; y < this_1.columnDefs.length; y++) {
@@ -6614,27 +6614,27 @@
6614
6614
  "%' ESCAPE '$'";
6615
6615
  }
6616
6616
  });
6617
- if (this_1.full_text_added_query != null)
6618
- this_1.full_text_added_query.map(function (v) {
6619
- if (v != null)
6620
- if (v != '') {
6621
- if (ss_r != "")
6622
- ss_r += " or ";
6623
- ss_r +=
6624
- v.split('_VALORE_').join(_this.uti_s.string_sqlvalue(arr_F_1[i]).replace("'", "$'").replace("*", "$*").replace("?", "$?").replace("[", "$[").replace("]", "$]").replace("!", "'$").toUpperCase());
6625
- }
6626
- });
6627
6617
  if (ss_r != '') {
6628
- if (ss != "")
6629
- ss += " and ";
6630
- ss += '(' + ss_r + ')';
6618
+ if (ss_1 != "")
6619
+ ss_1 += " and ";
6620
+ ss_1 += '(' + ss_r + ')';
6631
6621
  }
6632
6622
  };
6633
6623
  var this_1 = this;
6634
6624
  for (var i = 0; i < arr_F_1.length; i++) {
6635
6625
  _loop_1(i);
6636
6626
  }
6637
- this.fix_flt_temp = ss;
6627
+ if (this.full_text_added_query != null)
6628
+ this.full_text_added_query.map(function (v) {
6629
+ if (v != null)
6630
+ if (v != '') {
6631
+ if (ss_1 != "")
6632
+ ss_1 = "(" + ss_1 + ") and ";
6633
+ ss_1 +=
6634
+ v.split('_VALORE_').join(_this.uti_s.string_sqlvalue(_this.ric_libera).replace("'", "$'").replace("*", "$*").replace("?", "$?").replace("[", "$[").replace("]", "$]").replace("!", "'$").toUpperCase());
6635
+ }
6636
+ });
6637
+ this.fix_flt_temp = ss_1;
6638
6638
  }
6639
6639
  if (this.init_fill) {
6640
6640
  setTimeout(function () {
@@ -6875,16 +6875,6 @@
6875
6875
  "%' ESCAPE '$'";
6876
6876
  }
6877
6877
  });
6878
- if (this_2.full_text_added_query != null)
6879
- this_2.full_text_added_query.map(function (v) {
6880
- if (v != null)
6881
- if (v != '') {
6882
- if (ss_r != "")
6883
- ss_r += " or ";
6884
- ss_r +=
6885
- v.split('_VALORE_').join(_this.uti_s.string_sqlvalue(arr_F[i]).replace("'", "$'").replace("*", "$*").replace("?", "$?").replace("[", "$[").replace("]", "$]").replace("!", "'$").toUpperCase());
6886
- }
6887
- });
6888
6878
  if (ss_r != '') {
6889
6879
  console.log('ADDO '), ss_r;
6890
6880
  if (ss != "")
@@ -6896,6 +6886,16 @@
6896
6886
  for (var i = 0; i < arr_F.length; i++) {
6897
6887
  _loop_2(i);
6898
6888
  }
6889
+ if (this.full_text_added_query != null)
6890
+ this.full_text_added_query.map(function (v) {
6891
+ if (v != null)
6892
+ if (v != '') {
6893
+ if (ss != "")
6894
+ ss = "(" + ss + ") and ";
6895
+ ss +=
6896
+ v.split('_VALORE_').join(_this.uti_s.string_sqlvalue(_this.ric_libera).replace("'", "$'").replace("*", "$*").replace("?", "$?").replace("[", "$[").replace("]", "$]").replace("!", "'$").toUpperCase());
6897
+ }
6898
+ });
6899
6899
  this.pulisci_filtri(false);
6900
6900
  this.doFill_Temp(ss, true);
6901
6901
  };