@fluxhub/fluxhub-lib 11.0.38 → 11.0.40
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 +26 -13
- 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 +27 -14
- package/fesm2015/fluxhub-fluxhub-lib.js +26 -13
- package/fesm2015/fluxhub-fluxhub-lib.js.map +1 -1
- package/fluxhub-fluxhub-lib.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -5699,28 +5699,41 @@
|
|
|
5699
5699
|
var p_fi = p.filter;
|
|
5700
5700
|
var b_init = false;
|
|
5701
5701
|
if (params.filterModel != null) {
|
|
5702
|
-
|
|
5702
|
+
console.log('Filtri ', params.filterModel);
|
|
5703
5703
|
for (var key in params.filterModel) {
|
|
5704
|
-
if (!b_init) {
|
|
5705
|
-
if (_this.include_always != '') {
|
|
5706
|
-
p.filter = p.filter + " (" + _this.include_always + ' or ';
|
|
5707
|
-
}
|
|
5708
|
-
}
|
|
5709
|
-
b_init = true;
|
|
5710
|
-
// console.log(key);
|
|
5711
|
-
// if (p.hasOwnProperty(key)) {
|
|
5712
|
-
// console.log( params.filterModel[key]);
|
|
5713
5704
|
var obj_filtro_test = params.filterModel[key];
|
|
5714
|
-
console.log(params.filterModel[key], key);
|
|
5715
5705
|
if (obj_filtro_test.operator == null) {
|
|
5716
5706
|
if (p.filter == "")
|
|
5717
5707
|
p.filter += _this.calcola_filtro(params.filterModel[key], "", key, false);
|
|
5718
|
-
else
|
|
5708
|
+
else {
|
|
5709
|
+
console.log("🚀 ~ file: fhgrid.ts ~ line 767 ~ FHGridComponent ~ b_init", b_init);
|
|
5710
|
+
if (!b_init) {
|
|
5711
|
+
console.log("🚀 ~ file: fhgrid.ts ~ line 770 ~ FHGridComponent ~ this.include_always", _this.include_always);
|
|
5712
|
+
if (_this.include_always != '') {
|
|
5713
|
+
p.filter = p.filter + " (" + _this.include_always + ' or ';
|
|
5714
|
+
}
|
|
5715
|
+
else if (p.filter != "")
|
|
5716
|
+
p.filter += " and ";
|
|
5717
|
+
}
|
|
5718
|
+
else if (p.filter != "")
|
|
5719
|
+
p.filter += " and ";
|
|
5720
|
+
b_init = true;
|
|
5719
5721
|
p.filter += _this.calcola_filtro(params.filterModel[key], "", key, true);
|
|
5722
|
+
}
|
|
5720
5723
|
}
|
|
5721
5724
|
else {
|
|
5722
|
-
|
|
5725
|
+
console.log("🚀 ~ file: fhgrid.ts ~ line 767 ~ FHGridComponent ~ b_init", b_init);
|
|
5726
|
+
if (!b_init) {
|
|
5727
|
+
console.log("🚀 ~ file: fhgrid.ts ~ line 770 ~ FHGridComponent ~ this.include_always", _this.include_always);
|
|
5728
|
+
if (_this.include_always != '') {
|
|
5729
|
+
p.filter = p.filter + " (" + _this.include_always + ' or ';
|
|
5730
|
+
}
|
|
5731
|
+
else if (p.filter != "")
|
|
5732
|
+
p.filter += " and ";
|
|
5733
|
+
}
|
|
5734
|
+
else if (p.filter != "")
|
|
5723
5735
|
p.filter += " and ";
|
|
5736
|
+
b_init = true;
|
|
5724
5737
|
p.filter += " (";
|
|
5725
5738
|
p.filter += _this.calcola_filtro(params.filterModel[key].condition1, "", key, false);
|
|
5726
5739
|
p.filter += " " + obj_filtro_test.operator + " ";
|