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

@@ -108,6 +108,7 @@ export class AlfrescoSearchComponent implements OnChanges, OnInit {
*/
private displaySearchResults(searchTerm) {
if (searchTerm && this.searchService) {
searchTerm = searchTerm + '*';
let searchOpts: SearchOptions = {
include: ['path', 'allowableOperations'],
skipCount: this.skipCount,