@esfaenza/es-table 11.2.22-beta23 → 11.2.22-beta24
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-es-table.umd.js +6 -1
- package/bundles/esfaenza-es-table.umd.js.map +1 -1
- package/bundles/esfaenza-es-table.umd.min.js +1 -1
- package/bundles/esfaenza-es-table.umd.min.js.map +1 -1
- package/esm2015/lib/components/es-table/es_table.component.js +7 -2
- package/fesm2015/esfaenza-es-table.js +6 -1
- package/fesm2015/esfaenza-es-table.js.map +1 -1
- package/package.json +1 -1
|
@@ -4040,7 +4040,7 @@ class EsTableComponent {
|
|
|
4040
4040
|
let ipp = this.reportMode ? (view.itemsperpageoverride || 15) : view.itemsperpageoverride || 15;
|
|
4041
4041
|
this.arrayPulsanti = this.utilities_H.getPagesArray(6, appSearchElement.page, appSearchElement.pages, count, ipp);
|
|
4042
4042
|
let hasGroupings = !!this.MainGroupView;
|
|
4043
|
-
this.emitSearchRequest(false, hasGroupings ? view : null);
|
|
4043
|
+
this.emitSearchRequest(false, hasGroupings ? view : this.SearchView ? this.SearchView : null);
|
|
4044
4044
|
}
|
|
4045
4045
|
/**
|
|
4046
4046
|
* Evento richiamato sul cambio della paginazione. Verrà richiamato l'evento **emitSearchRequest**
|
|
@@ -4051,6 +4051,11 @@ class EsTableComponent {
|
|
|
4051
4051
|
this.changed();
|
|
4052
4052
|
if (this.MainGroupView)
|
|
4053
4053
|
this.emitSearchRequest(true, this.MainGroupView);
|
|
4054
|
+
else if (this.SearchView) {
|
|
4055
|
+
// Questo secondo me si può portare a livello un po' più alto
|
|
4056
|
+
this.SearchView.page = 1;
|
|
4057
|
+
this.emitSearchRequest(true, this.SearchView);
|
|
4058
|
+
}
|
|
4054
4059
|
else
|
|
4055
4060
|
this.emitSearchRequest(true);
|
|
4056
4061
|
}
|