@fluxhub/fluxhub-lib 10.0.346 → 10.0.348

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.
@@ -5942,11 +5942,13 @@
5942
5942
  }
5943
5943
  }
5944
5944
  else {
5945
- console.log('like_f ', like_f);
5946
- b_filter = true;
5947
- if (add_end)
5948
- filter_v = filter_v + " and ";
5949
- 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
+ }
5950
5952
  }
5951
5953
  }
5952
5954
  console.log('return filter_v ', filter_v);
@@ -16338,6 +16340,13 @@
16338
16340
  wkfapp.prototype.riassegna_richiesta_step2 = function () {
16339
16341
  var _this = this;
16340
16342
  var a_let = "";
16343
+ var op = [];
16344
+ op.push({
16345
+ sql: 'DELETE_TODO_ALL_BYID',
16346
+ types: ['string', 'string'],
16347
+ values: [this.id_applicativo, this.get_grid().sRow.uiid],
16348
+ names: []
16349
+ });
16341
16350
  if (this.get_grid().sRow.lettori != null)
16342
16351
  a_let = this.get_grid().sRow.lettori;
16343
16352
  var a_aut = "";
@@ -16349,6 +16358,12 @@
16349
16358
  var a_datanot = "";
16350
16359
  var old_grp = "XCXXX";
16351
16360
  for (var i = 0; i < this.wax.length; i++) {
16361
+ op.push({
16362
+ sql: 'INSERT_TODO_GEST',
16363
+ types: ['string', 'string', 'string', 'string', 'string', 'string', 'string'],
16364
+ values: [this.id_applicativo, this.get_grid().sRow.uiid, this.wax[i].idp, this.get_grid().sRow.oggetto, this.title, this.get_grid().sRow.descrizione, this.app_s.COMPANY_SITE_ROOT + '/#/' + this.app_root + '/' + this.id_applicativo + '/' + this.get_grid().sRow.uiid + '/edit'],
16365
+ names: []
16366
+ });
16352
16367
  if (old_grp == "XCXXX" || old_grp == this.wax[i].gruppo_parallelo) {
16353
16368
  old_grp = this.wax[i].gruppo_parallelo;
16354
16369
  }
@@ -16382,6 +16397,7 @@
16382
16397
  a_aut = a_aut + ",";
16383
16398
  a_aut = a_aut + this.wax[i].idp;
16384
16399
  }
16400
+ rxjs.forkJoin(op).subscribe(function (result) { });
16385
16401
  this.sendEMail_ex(this.user_idp, a_datanot, this.titolo_email +
16386
16402
  "L'utente " +
16387
16403
  this.user_cognome +
@@ -18996,6 +19012,13 @@
18996
19012
  wkfapp_v2.prototype.riassegna_richiesta_step2 = function () {
18997
19013
  var _this = this;
18998
19014
  var a_let = "";
19015
+ var op = [];
19016
+ op.push({
19017
+ sql: 'DELETE_TODO_ALL_BYID',
19018
+ types: ['string', 'string'],
19019
+ values: [this.id_applicativo, this.get_grid().sRow.uiid],
19020
+ names: []
19021
+ });
18999
19022
  if (this.get_grid().sRow.lettori != null)
19000
19023
  a_let = this.get_grid().sRow.lettori;
19001
19024
  var a_aut = "";
@@ -19007,6 +19030,12 @@
19007
19030
  var a_datanot = "";
19008
19031
  var old_grp = "XCXXX";
19009
19032
  for (var i = 0; i < this.wax.length; i++) {
19033
+ op.push({
19034
+ sql: 'INSERT_TODO_GEST',
19035
+ types: ['string', 'string', 'string', 'string', 'string', 'string', 'string'],
19036
+ values: [this.id_applicativo, this.get_grid().sRow.uiid, this.wax[i].idp, this.get_grid().sRow.oggetto, this.title, this.get_grid().sRow.descrizione, this.app_s.COMPANY_SITE_ROOT + '/#/' + this.app_root + '/' + this.id_applicativo + '/' + this.get_grid().sRow.uiid + '/edit'],
19037
+ names: []
19038
+ });
19010
19039
  if (old_grp == "XCXXX" || old_grp == this.wax[i].gruppo_parallelo) {
19011
19040
  old_grp = this.wax[i].gruppo_parallelo;
19012
19041
  }
@@ -19040,6 +19069,7 @@
19040
19069
  a_aut = a_aut + ",";
19041
19070
  a_aut = a_aut + this.wax[i].username;
19042
19071
  }
19072
+ rxjs.forkJoin(op).subscribe(function (result) { });
19043
19073
  this.sendEMail_ex(this.user_idp, a_datanot, this.titolo_email +
19044
19074
  "L'utente " +
19045
19075
  this.user_cognome +