Search add wildcard * to match all the (#2079)

This commit is contained in:
Eugenio Romano
2017-07-13 14:12:25 +01:00
committed by Eugenio Romano
parent 52be6534ae
commit 3d4897b4bb
4 changed files with 11 additions and 6 deletions

View File

@@ -101,6 +101,7 @@ export class AlfrescoSearchAutocompleteComponent implements OnInit, OnChanges {
orderBy: this.resultSort
};
if (searchTerm !== null && searchTerm !== '') {
searchTerm = searchTerm + '*';
this.searchService
.getNodeQueryResults(searchTerm, searchOpts)
.subscribe(