aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/search/search.service.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/search/search.service.ts')
-rw-r--r--client/src/app/search/search.service.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/src/app/search/search.service.ts b/client/src/app/search/search.service.ts
index b46cb97f4..a37c49161 100644
--- a/client/src/app/search/search.service.ts
+++ b/client/src/app/search/search.service.ts
@@ -36,7 +36,8 @@ export class SearchService {
36 36
37 let params = new HttpParams() 37 let params = new HttpParams()
38 params = this.restService.addRestGetParams(params, pagination) 38 params = this.restService.addRestGetParams(params, pagination)
39 params = params.append('search', search) 39
40 if (search) params = params.append('search', search)
40 41
41 const advancedSearchObject = advancedSearch.toAPIObject() 42 const advancedSearchObject = advancedSearch.toAPIObject()
42 43