mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-2119] Document List - The pagination should be fetched from the UserPreference (#2801)
* Changed the service fetching page sizes in document-list component * uncommented a line in process-service.component.ts for the tasklist to show page-sizes in task-list
This commit is contained in:
committed by
Maurizio Vitale
parent
77822b8494
commit
f58405e07a
@@ -153,7 +153,7 @@ export class ProcessServiceComponent implements AfterViewInit, OnDestroy, OnInit
|
||||
private preferenceService: UserPreferencesService) {
|
||||
this.dataTasks = new ObjectDataTableAdapter();
|
||||
this.dataTasks.setSorting(new DataSorting('created', 'desc'));
|
||||
// this.supportedPages = this.preferenceService.getDifferentPageSizes();
|
||||
this.supportedPages = this.preferenceService.getDifferentPageSizes();
|
||||
this.taskPagination.maxItems = this.preferenceService.paginationSize;
|
||||
|
||||
// Uncomment this line to replace all 'text' field editors with custom component
|
||||
|
Reference in New Issue
Block a user