@fluxhub/fluxhub-lib 10.0.129 → 10.0.131

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.
@@ -5643,7 +5643,7 @@
5643
5643
  " upper(" +
5644
5644
  key +
5645
5645
  ") like '%" +
5646
- obj_filtro.filter.replace("'", "''").toUpperCase() +
5646
+ obj_filtro.filter.replace("'", "''").replace("*", "'*").replace("?", "'?").replace("[", "'[").replace("]", "']").replace("!", "'!").toUpperCase() +
5647
5647
  "%'";
5648
5648
  if (obj_filtro.type == "startsWith")
5649
5649
  filter_v =
@@ -5651,7 +5651,7 @@
5651
5651
  " upper(" +
5652
5652
  key +
5653
5653
  ") like '" +
5654
- obj_filtro.filter.replace("'", "''").toUpperCase() +
5654
+ obj_filtro.filter.replace("'", "''").replace("*", "'*").replace("?", "'?").replace("[", "'[").replace("]", "']").replace("!", "'!").toUpperCase() +
5655
5655
  "%'";
5656
5656
  if (obj_filtro.type == "equals")
5657
5657
  filter_v =
@@ -5667,7 +5667,7 @@
5667
5667
  "not upper(" +
5668
5668
  key +
5669
5669
  ") like '%" +
5670
- obj_filtro.filter.replace("'", "''").toUpperCase() +
5670
+ obj_filtro.filter.replace("'", "''").replace("*", "'*").replace("?", "'?").replace("[", "'[").replace("]", "']").replace("!", "'!").toUpperCase() +
5671
5671
  "%'";
5672
5672
  if (obj_filtro.type == "notEqual")
5673
5673
  filter_v =
@@ -5683,7 +5683,7 @@
5683
5683
  " upper(" +
5684
5684
  key +
5685
5685
  ") like '%" +
5686
- obj_filtro.filter.replace("'", "''").toUpperCase() +
5686
+ obj_filtro.filter.replace("'", "''").replace("*", "'*").replace("?", "'?").replace("[", "'[").replace("]", "']").replace("!", "'!").toUpperCase() +
5687
5687
  "'";
5688
5688
  // if(obj_filtro.type=="startsWith") filter_v = filter_v +' upper('+ key + ') like \'' + obj_filtro.filter.replace('\'', '\'\'').toUpperCase() + '%\'';
5689
5689
  }
@@ -6184,7 +6184,7 @@
6184
6184
  ss +
6185
6185
  this.columnDefs[y].field +
6186
6186
  " LIKE '%" +
6187
- this.uti_s.string_sqlvalue(arr_F[i]) +
6187
+ this.uti_s.string_sqlvalue(arr_F[i]).replace("*", "'*").replace("?", "'?").replace("[", "'[").replace("]", "']").replace("!", "'!") +
6188
6188
  "%'";
6189
6189
  }
6190
6190
  this.fix_flt_temp = ss;
@@ -6401,7 +6401,7 @@
6401
6401
  ss +
6402
6402
  this.columnDefs[y].field +
6403
6403
  " LIKE '%" +
6404
- this.uti_s.string_sqlvalue(arr_F[i]) +
6404
+ this.uti_s.string_sqlvalue(arr_F[i]).replace("*", "'*").replace("?", "'?").replace("[", "'[").replace("]", "']").replace("!", "'!") +
6405
6405
  "%'";
6406
6406
  }
6407
6407
  this.pulisci_filtri(false);