diff options
author | Chocobozzz <me@florianbigard.com> | 2018-07-24 11:40:04 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-07-24 14:04:05 +0200 |
commit | 4278710d5b48546709720fac46657b84bba52a18 (patch) | |
tree | 625adb1ca2701b6b2dd02044a8fbe68eac2dda18 /client/src/app/search/search.service.ts | |
parent | d411245096b7c9ec06e6fa2ceff7aa7b0fc0c3b7 (diff) | |
download | PeerTube-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.ts | 3 |
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 | ||