mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
Revert "[ACS-10083] Filter not behaving correctly in file and site (#… (#11327)
* Revert "[ACS-10083] Filter not behaving correctly in file and site (#11237)"
This reverts commit 5016eff847.
* [ACS-10083]: fixes sonarqube issue
This commit is contained in:
@@ -599,7 +599,7 @@ export class DocumentListComponent extends DataTableSchema implements OnInit, On
|
||||
}
|
||||
|
||||
if (this.currentFolderId && changes['currentFolderId']?.currentValue !== changes['currentFolderId']?.previousValue) {
|
||||
!this.filterValue && this.loadFolder();
|
||||
this.loadFolder();
|
||||
}
|
||||
|
||||
if (this.data) {
|
||||
@@ -816,6 +816,7 @@ export class DocumentListComponent extends DataTableSchema implements OnInit, On
|
||||
this.preserveExistingSelection();
|
||||
}
|
||||
this.onPreselectNodes();
|
||||
this.setLoadingState(false);
|
||||
this.onDataReady(nodePaging);
|
||||
}
|
||||
}
|
||||
@@ -1022,7 +1023,6 @@ export class DocumentListComponent extends DataTableSchema implements OnInit, On
|
||||
private onDataReady(nodePaging: NodePaging) {
|
||||
this.ready.emit(nodePaging);
|
||||
this.pagination.next(nodePaging.list.pagination);
|
||||
this.setLoadingState(false);
|
||||
}
|
||||
|
||||
updatePagination(requestPaginationModel: RequestPaginationModel) {
|
||||
|
||||
Reference in New Issue
Block a user