[ADF-5087] Document List - custom sources 'where' clause not passed (#5558)

* pass document list where clause to custom sources

* update docs
This commit is contained in:
Cilibiu Bogdan
2020-03-19 11:38:58 +02:00
committed by GitHub
parent 5bcd326891
commit 983e01f70c
3 changed files with 32 additions and 19 deletions

View File

@@ -171,7 +171,7 @@ export class DocumentListService implements DocumentListLoader {
*/
loadFolderByNodeId(nodeId: string, pagination: PaginationModel, includeFields: string[], where?: string): Observable<DocumentLoaderNode> {
if (this.customResourcesService.isCustomSource(nodeId)) {
return this.customResourcesService.loadFolderByNodeId(nodeId, pagination, includeFields).pipe(
return this.customResourcesService.loadFolderByNodeId(nodeId, pagination, includeFields, where).pipe(
map((result: any) => new DocumentLoaderNode(null, result))
);
} else {