aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/search/search.service.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-07-24 11:40:04 +0200
committerChocobozzz <me@florianbigard.com>2018-07-24 14:04:05 +0200
commit4278710d5b48546709720fac46657b84bba52a18 (patch)
tree625adb1ca2701b6b2dd02044a8fbe68eac2dda18 /client/src/app/search/search.service.ts
parentd411245096b7c9ec06e6fa2ceff7aa7b0fc0c3b7 (diff)
downloadPeerTube-4278710d5b48546709720fac46657b84bba52a18.tar.gz
PeerTube-4278710d5b48546709720fac46657b84bba52a18.tar.zst
PeerTube-4278710d5b48546709720fac46657b84bba52a18.zip
Add ability to click on category/licence/language/tags in watch page
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