alfresco-ng2-components icon indicating copy to clipboard operation
alfresco-ng2-components copied to clipboard

Infinite Pagination does not work if the documentList is initialized by property [node]

Open wernernaehle opened this issue 6 years ago • 2 comments

Issue related to the use of the component "adf-infinite-pagination" (https://github.com/Alfresco/alfresco-ng2-components/blob/development/docs/core/infinite-pagination.component.md).

Type of issue: (check with "[x]")

  • [ ] New feature request
  • [x] Bug
  • [ ] Support request
  • [ ] Documentation

Current behaviour: It works well when the documentList (adf-document-list) is initialized by the property "[currentFolderId]" (string). But it doesn't work when the documentList (adf-document-list) is initialized by the property "[node]" (NodePaging).

Expected behavior: https://github.com/Alfresco/alfresco-ng2-components/blob/development/docs/core/infinite-pagination.component.md

Steps to reproduce the issue: Create a template which contains the components "adf-document-list" and "adf-infinite-pagination" like the next screenshot. screen shot 2018-07-17 at 15 11 09

The value of [node] property is the result after executing a query, e.g "this.apiService.getInstance().search.searchApi.search(...). then(data => {this.nodePaging = data})..."

Component name and version: "adf-infinite-pagination" (https://github.com/Alfresco/alfresco-ng2-components/blob/development/docs/core/infinite-pagination.component.md)

Browser and version: I think in all browsers...

Node version (for build issues):
v9.5.0

New feature request:

wernernaehle avatar Jul 17 '18 14:07 wernernaehle

Tried infinite pagination with task/process list component a while back, doesn't seem to work either

yregaieg avatar Oct 11 '18 12:10 yregaieg

Raised an issue in this way we can check. https://issues.alfresco.com/jira/browse/ADF-3675

mauriziovitale avatar Oct 11 '18 15:10 mauriziovitale