[ADF-2070][ADF-2071][ADF-2072] 'Load more' on destination picker does… (#2774)

* [ADF-2070][ADF-2071][ADF-2072] 'Load more' on destination picker doesn't display correct content of folders

* [ADF-2070][ADF-2071][ADF-2072] add tests

* [ADF-2070][ADF-2071][ADF-2072] 'Load more' on destination picker doesn't display correct content of folders
This commit is contained in:
suzanadirla
2017-12-20 00:14:36 +02:00
committed by Eugenio Romano
parent 413dcc9e45
commit 553ae4db7b
2 changed files with 32 additions and 1 deletions

View File

@@ -202,7 +202,10 @@ export class ContentNodeSelectorPanelComponent implements OnInit {
getNextPageOfSearch(event: Pagination): void {
this.infiniteScroll = true;
this.skipCount = event.skipCount;
this.querySearch();
if (this.searchTerm.length > 0) {
this.querySearch();
}
}
/**