mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-26 17:24:56 +00:00
[ADF-1835] fixed wrongly reported pagination into demo shell search result (#2671)
This commit is contained in:
parent
cef3a073ac
commit
d91def08bf
@ -195,6 +195,7 @@ export class FilesComponent implements OnInit, OnChanges, OnDestroy {
|
||||
ngOnChanges(changes: SimpleChanges) {
|
||||
if (changes.nodeResult && changes.nodeResult.currentValue) {
|
||||
this.nodeResult = <NodePaging> changes.nodeResult.currentValue;
|
||||
this.pagination = this.nodeResult.list.pagination;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -53,6 +53,7 @@ export class SearchResultComponent implements OnInit {
|
||||
this.searchedWord = params.hasOwnProperty(this.queryParamName) ? params[this.queryParamName] : null;
|
||||
});
|
||||
}
|
||||
this.maxItems = this.preferences.paginationSize;
|
||||
}
|
||||
|
||||
showSearchResult(event: NodePaging) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user