[ADF-3677] Add highlight configuration to SearchQueryBuilder (#4358)

* [ADF-3677] Add highlight configuration to SearchQueryBuilder

* highlight property in search

* Update files.component.ts

* remove comma

* highlight missspell

* fix schhema json highilight

* fix test

* fix lint

* fix lint

* fix lint

* fix search sorting tests

* fix search sorting

* fix lint

* remove useless test

* check for null nodes

* remove duplicated test

* lint

* fix sorting tests

* remove test not search component related
This commit is contained in:
davidcanonieto
2019-03-17 17:23:07 +00:00
committed by Eugenio Romano
parent d6f391c40e
commit 8dc9eba4c7
19 changed files with 401 additions and 444 deletions
+4 -2
View File
@@ -30,8 +30,10 @@ export class NodeActions {
let promises = [];
let nodeList;
for (let i = 0; i < (numberOfElements - 1) ; i++ ) {
promises.push(alfrescoJsApi.core.nodesApi.getNode(idList[i]));
for (let i = 0; i < (numberOfElements - 1); i++) {
if (idList[i] && idList[i].trim() !== '') {
promises.push(alfrescoJsApi.core.nodesApi.getNode(idList[i]));
}
}
nodeList = await Promise.all(promises);
return nodeList;