@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
|
@@ -5684,41 +5684,46 @@
|
|
|
5684
5684
|
if (_this.fix_flt != "") {
|
|
5685
5685
|
if (p.filter != "")
|
|
5686
5686
|
p.filter = p.filter + " " + _this.type_fixed_filter + " ";
|
|
5687
|
+
console.log("🚀 ~ file: fhgrid.ts ~ line 737 ~ FHGridComponent ~ type_fixed_filter", _this.type_fixed_filter);
|
|
5687
5688
|
p.filter = p.filter + " (" + _this.fix_flt + " )";
|
|
5688
5689
|
}
|
|
5689
5690
|
if (_this.ric_libera == '' || !_this.over_fulltext)
|
|
5690
5691
|
if (_this.fix_flt_temp != "") {
|
|
5691
5692
|
if (p.filter != "")
|
|
5692
5693
|
p.filter = p.filter + " " + _this.type_fixed_filter + " ";
|
|
5694
|
+
console.log("🚀 ~ file: fhgrid.ts ~ line 743 ~ FHGridComponent ~ this.type_fixed_filter", _this.type_fixed_filter);
|
|
5693
5695
|
p.filter = p.filter + " (" + _this.fix_flt_temp + " )";
|
|
5694
5696
|
}
|
|
5695
5697
|
// console.log('Filter model');
|
|
5696
5698
|
//console.log(params.filterModel);
|
|
5699
|
+
var b_init = false;
|
|
5697
5700
|
var p_fi = p.filter;
|
|
5698
5701
|
if (params.filterModel != null) {
|
|
5699
5702
|
// console.log('Filtri');
|
|
5700
5703
|
for (var key in params.filterModel) {
|
|
5704
|
+
if (!b_init) {
|
|
5705
|
+
if (p.filter != "")
|
|
5706
|
+
p.filter = p.filter + " " + _this.type_fixed_filter + " ";
|
|
5707
|
+
}
|
|
5701
5708
|
// console.log(key);
|
|
5702
5709
|
// if (p.hasOwnProperty(key)) {
|
|
5703
5710
|
// console.log( params.filterModel[key]);
|
|
5704
5711
|
var obj_filtro_test = params.filterModel[key];
|
|
5705
5712
|
console.log(params.filterModel[key], key);
|
|
5706
5713
|
if (obj_filtro_test.operator == null) {
|
|
5707
|
-
|
|
5708
|
-
p.filter += _this.calcola_filtro(params.filterModel[key], "", key, false);
|
|
5709
|
-
else
|
|
5710
|
-
p.filter += _this.calcola_filtro(params.filterModel[key], "", key, true);
|
|
5714
|
+
p.filter += _this.calcola_filtro(params.filterModel[key], "", key, false);
|
|
5711
5715
|
}
|
|
5712
5716
|
else {
|
|
5713
|
-
if (
|
|
5714
|
-
p.filter
|
|
5717
|
+
if (b_init)
|
|
5718
|
+
if (p.filter != "")
|
|
5719
|
+
p.filter += " and ";
|
|
5715
5720
|
p.filter += " (";
|
|
5716
5721
|
p.filter += _this.calcola_filtro(params.filterModel[key].condition1, "", key, false);
|
|
5717
5722
|
p.filter += " " + obj_filtro_test.operator + " ";
|
|
5718
5723
|
p.filter += _this.calcola_filtro(params.filterModel[key].condition2, "", key, false);
|
|
5719
5724
|
p.filter += ")";
|
|
5720
5725
|
}
|
|
5721
|
-
|
|
5726
|
+
b_init = true;
|
|
5722
5727
|
}
|
|
5723
5728
|
}
|
|
5724
5729
|
p.filter = p.filter.split('{{user}}').join(_this.m_appService.user);
|
|
@@ -6516,7 +6521,6 @@
|
|
|
6516
6521
|
if (model_1 != null)
|
|
6517
6522
|
num_all = model_1.length;
|
|
6518
6523
|
}
|
|
6519
|
-
console.log('KEY!!!! ', key);
|
|
6520
6524
|
if (key != 'pers_int') {
|
|
6521
6525
|
if (sq != "") {
|
|
6522
6526
|
if (obj_filtro.values.length != num_all) {
|