mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
fix infinite pagination delete, difficult to handle the delta in case of delete better to reload the whole list for infinite pagination
This commit is contained in:
@@ -88,9 +88,9 @@ export class InfinitePaginationComponent implements OnInit, OnDestroy, Paginatio
|
||||
}
|
||||
|
||||
onLoadMore() {
|
||||
this.requestPaginationModel.skipCount += this.pageSize;
|
||||
this.requestPaginationModel.merge = true;
|
||||
this.requestPaginationModel.maxItems = this.pageSize;
|
||||
this.requestPaginationModel.skipCount = 0;
|
||||
this.requestPaginationModel.merge = false;
|
||||
this.requestPaginationModel.maxItems += this.pageSize;
|
||||
|
||||
this.loadMore.next(this.requestPaginationModel);
|
||||
|
||||
|
Reference in New Issue
Block a user