@fluxhub/fluxhub-lib 11.0.35 → 11.0.37
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.
- package/bundles/fluxhub-fluxhub-lib.umd.js +12 -8
- package/bundles/fluxhub-fluxhub-lib.umd.js.map +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js +1 -1
- package/bundles/fluxhub-fluxhub-lib.umd.min.js.map +1 -1
- package/esm2015/lib/controls/fhgrid.js +13 -9
- package/fesm2015/fluxhub-fluxhub-lib.js +12 -8
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -6470,41 +6470,46 @@ class FHGridComponent {
|
|
|
6470
6470
|
if (this.fix_flt != "") {
|
|
6471
6471
|
if (p.filter != "")
|
|
6472
6472
|
p.filter = p.filter + " " + this.type_fixed_filter + " ";
|
|
6473
|
+
console.log("🚀 ~ file: fhgrid.ts ~ line 737 ~ FHGridComponent ~ type_fixed_filter", this.type_fixed_filter);
|
|
6473
6474
|
p.filter = p.filter + " (" + this.fix_flt + " )";
|
|
6474
6475
|
}
|
|
6475
6476
|
if (this.ric_libera == '' || !this.over_fulltext)
|
|
6476
6477
|
if (this.fix_flt_temp != "") {
|
|
6477
6478
|
if (p.filter != "")
|
|
6478
6479
|
p.filter = p.filter + " " + this.type_fixed_filter + " ";
|
|
6480
|
+
console.log("🚀 ~ file: fhgrid.ts ~ line 743 ~ FHGridComponent ~ this.type_fixed_filter", this.type_fixed_filter);
|
|
6479
6481
|
p.filter = p.filter + " (" + this.fix_flt_temp + " )";
|
|
6480
6482
|
}
|
|
6481
6483
|
// console.log('Filter model');
|
|
6482
6484
|
//console.log(params.filterModel);
|
|
6485
|
+
let b_init = false;
|
|
6483
6486
|
let p_fi = p.filter;
|
|
6484
6487
|
if (params.filterModel != null) {
|
|
6485
6488
|
// console.log('Filtri');
|
|
6486
6489
|
for (let key in params.filterModel) {
|
|
6490
|
+
if (!b_init) {
|
|
6491
|
+
if (p.filter != "")
|
|
6492
|
+
p.filter = p.filter + " " + this.type_fixed_filter + " ";
|
|
6493
|
+
}
|
|
6487
6494
|
// console.log(key);
|
|
6488
6495
|
// if (p.hasOwnProperty(key)) {
|
|
6489
6496
|
// console.log( params.filterModel[key]);
|
|
6490
6497
|
let obj_filtro_test = params.filterModel[key];
|
|
6491
6498
|
console.log(params.filterModel[key], key);
|
|
6492
6499
|
if (obj_filtro_test.operator == null) {
|
|
6493
|
-
|
|
6494
|
-
p.filter += this.calcola_filtro(params.filterModel[key], "", key, false);
|
|
6495
|
-
else
|
|
6496
|
-
p.filter += this.calcola_filtro(params.filterModel[key], "", key, true);
|
|
6500
|
+
p.filter += this.calcola_filtro(params.filterModel[key], "", key, false);
|
|
6497
6501
|
}
|
|
6498
6502
|
else {
|
|
6499
|
-
if (
|
|
6500
|
-
p.filter
|
|
6503
|
+
if (b_init)
|
|
6504
|
+
if (p.filter != "")
|
|
6505
|
+
p.filter += " and ";
|
|
6501
6506
|
p.filter += " (";
|
|
6502
6507
|
p.filter += this.calcola_filtro(params.filterModel[key].condition1, "", key, false);
|
|
6503
6508
|
p.filter += " " + obj_filtro_test.operator + " ";
|
|
6504
6509
|
p.filter += this.calcola_filtro(params.filterModel[key].condition2, "", key, false);
|
|
6505
6510
|
p.filter += ")";
|
|
6506
6511
|
}
|
|
6507
|
-
|
|
6512
|
+
b_init = true;
|
|
6508
6513
|
}
|
|
6509
6514
|
}
|
|
6510
6515
|
p.filter = p.filter.split('{{user}}').join(this.m_appService.user);
|
|
@@ -7297,7 +7302,6 @@ class FHGridComponent {
|
|
|
7297
7302
|
if (model != null)
|
|
7298
7303
|
num_all = model.length;
|
|
7299
7304
|
}
|
|
7300
|
-
console.log('KEY!!!! ', key);
|
|
7301
7305
|
if (key != 'pers_int') {
|
|
7302
7306
|
if (sq != "") {
|
|
7303
7307
|
if (obj_filtro.values.length != num_all) {
|