@esfaenza/admin-module 11.2.40 → 11.2.42
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/esfaenza-admin-module.umd.js +6 -6
- package/bundles/esfaenza-admin-module.umd.js.map +1 -1
- package/bundles/esfaenza-admin-module.umd.min.js +1 -1
- package/bundles/esfaenza-admin-module.umd.min.js.map +1 -1
- package/esm2015/lib/components/dynamic_views/adm_dynamic_views.component.js +7 -7
- package/fesm2015/esfaenza-admin-module.js +6 -6
- package/fesm2015/esfaenza-admin-module.js.map +1 -1
- package/lib/components/dynamic_views/adm_dynamic_views.component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1903,7 +1903,7 @@
|
|
|
1903
1903
|
//Altirmenti genero il modello nuovo normalmente
|
|
1904
1904
|
if (HotPotato) {
|
|
1905
1905
|
this.searchView = HotPotato;
|
|
1906
|
-
this.POSTGetItems(this.backend + Repository.POST_Adm_GetDynamicViewData
|
|
1906
|
+
this.POSTGetItems(this.backend + Repository.POST_Adm_GetDynamicViewData);
|
|
1907
1907
|
}
|
|
1908
1908
|
else {
|
|
1909
1909
|
this.searchView = new DynamicViewsView();
|
|
@@ -1916,15 +1916,13 @@
|
|
|
1916
1916
|
if (resetPage)
|
|
1917
1917
|
this.searchView.page = 1;
|
|
1918
1918
|
this.searchView.filtername = this.filterName;
|
|
1919
|
-
this.POSTGetItems(this.backend + Repository.POST_Adm_GetDynamicViewData
|
|
1919
|
+
this.POSTGetItems(this.backend + Repository.POST_Adm_GetDynamicViewData);
|
|
1920
1920
|
};
|
|
1921
|
-
AdmDynamicViewsComponent.prototype.POSTGetItems = function (url
|
|
1921
|
+
AdmDynamicViewsComponent.prototype.POSTGetItems = function (url) {
|
|
1922
1922
|
var _this = this;
|
|
1923
1923
|
if (!this.searchView.filtername) {
|
|
1924
1924
|
this.badSearch = true;
|
|
1925
1925
|
esTable.AppSearch.reset(this.searchView);
|
|
1926
|
-
//Aggiorno il riferimento per refreshare la es-table
|
|
1927
|
-
this.searchView = JSON.parse(JSON.stringify(this.searchView));
|
|
1928
1926
|
return;
|
|
1929
1927
|
}
|
|
1930
1928
|
else
|
|
@@ -1934,7 +1932,9 @@
|
|
|
1934
1932
|
this.currentName = this.searchView.filtername;
|
|
1935
1933
|
this.searchView = null;
|
|
1936
1934
|
}
|
|
1937
|
-
this.
|
|
1935
|
+
this.searchView = new DynamicViewsView();
|
|
1936
|
+
this.searchView.filtername = this.currentName;
|
|
1937
|
+
this.http.post(url, this.searchView).subscribe(function (t) {
|
|
1938
1938
|
_this.searchView = t;
|
|
1939
1939
|
_this.searchView.searchinprogress = false;
|
|
1940
1940
|
_this.localStorage.setItem("HotDinamitato", _this.searchView).subscribe();
|