@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.
@@ -8210,7 +8210,7 @@ class FHGridComponent {
8210
8210
  " upper(" +
8211
8211
  key +
8212
8212
  ") like '%" +
8213
- obj_filtro.filter.replace("'", "''").toUpperCase() +
8213
+ obj_filtro.filter.replace("'", "''").replace("*", "'*").replace("?", "'?").replace("[", "'[").replace("]", "']").replace("!", "'!").toUpperCase() +
8214
8214
  "%'";
8215
8215
  if (obj_filtro.type == "startsWith")
8216
8216
  filter_v =
@@ -8218,7 +8218,7 @@ class FHGridComponent {
8218
8218
  " upper(" +
8219
8219
  key +
8220
8220
  ") like '" +
8221
- obj_filtro.filter.replace("'", "''").toUpperCase() +
8221
+ obj_filtro.filter.replace("'", "''").replace("*", "'*").replace("?", "'?").replace("[", "'[").replace("]", "']").replace("!", "'!").toUpperCase() +
8222
8222
  "%'";
8223
8223
  if (obj_filtro.type == "equals")
8224
8224
  filter_v =
@@ -8234,7 +8234,7 @@ class FHGridComponent {
8234
8234
  "not upper(" +
8235
8235
  key +
8236
8236
  ") like '%" +
8237
- obj_filtro.filter.replace("'", "''").toUpperCase() +
8237
+ obj_filtro.filter.replace("'", "''").replace("*", "'*").replace("?", "'?").replace("[", "'[").replace("]", "']").replace("!", "'!").toUpperCase() +
8238
8238
  "%'";
8239
8239
  if (obj_filtro.type == "notEqual")
8240
8240
  filter_v =
@@ -8250,7 +8250,7 @@ class FHGridComponent {
8250
8250
  " upper(" +
8251
8251
  key +
8252
8252
  ") like '%" +
8253
- obj_filtro.filter.replace("'", "''").toUpperCase() +
8253
+ obj_filtro.filter.replace("'", "''").replace("*", "'*").replace("?", "'?").replace("[", "'[").replace("]", "']").replace("!", "'!").toUpperCase() +
8254
8254
  "'";
8255
8255
  // if(obj_filtro.type=="startsWith") filter_v = filter_v +' upper('+ key + ') like \'' + obj_filtro.filter.replace('\'', '\'\'').toUpperCase() + '%\'';
8256
8256
  }
@@ -8737,7 +8737,7 @@ class FHGridComponent {
8737
8737
  ss +
8738
8738
  this.columnDefs[y].field +
8739
8739
  " LIKE '%" +
8740
- this.uti_s.string_sqlvalue(arr_F[i]) +
8740
+ this.uti_s.string_sqlvalue(arr_F[i]).replace("*", "'*").replace("?", "'?").replace("[", "'[").replace("]", "']").replace("!", "'!") +
8741
8741
  "%'";
8742
8742
  }
8743
8743
  this.fix_flt_temp = ss;
@@ -8950,7 +8950,7 @@ class FHGridComponent {
8950
8950
  ss +
8951
8951
  this.columnDefs[y].field +
8952
8952
  " LIKE '%" +
8953
- this.uti_s.string_sqlvalue(arr_F[i]) +
8953
+ this.uti_s.string_sqlvalue(arr_F[i]).replace("*", "'*").replace("?", "'?").replace("[", "'[").replace("]", "']").replace("!", "'!") +
8954
8954
  "%'";
8955
8955
  }
8956
8956
  this.pulisci_filtri(false);