alfresco-ng2-components
alfresco-ng2-components copied to clipboard
Infinite Pagination does not work if the documentList is initialized by property [node]
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.
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:
Tried infinite pagination with task/process list component a while back, doesn't seem to work either
Raised an issue in this way we can check. https://issues.alfresco.com/jira/browse/ADF-3675