aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/search/advanced-search.model.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-10-21 13:31:58 +0200
committerChocobozzz <me@florianbigard.com>2019-10-21 13:31:58 +0200
commitbaeb429d06d101f69c677fdb70c3da2eb9d3823d (patch)
treec5bf70c96cb4eaf4f1cc8c32e4df88c7f4a132bb /client/src/app/search/advanced-search.model.ts
parentf1b38883922fd59b36f093e44a5091e090d20862 (diff)
downloadPeerTube-baeb429d06d101f69c677fdb70c3da2eb9d3823d.tar.gz
PeerTube-baeb429d06d101f69c677fdb70c3da2eb9d3823d.tar.zst
PeerTube-baeb429d06d101f69c677fdb70c3da2eb9d3823d.zip
Fix search with account video languages
Diffstat (limited to 'client/src/app/search/advanced-search.model.ts')
-rw-r--r--client/src/app/search/advanced-search.model.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/src/app/search/advanced-search.model.ts b/client/src/app/search/advanced-search.model.ts
index 5b713e145..e2a0253f4 100644
--- a/client/src/app/search/advanced-search.model.ts
+++ b/client/src/app/search/advanced-search.model.ts
@@ -139,6 +139,7 @@ export class AdvancedSearch {
139 139
140 private intoArray (value: any) { 140 private intoArray (value: any) {
141 if (!value) return undefined 141 if (!value) return undefined
142 if (Array.isArray(value)) return value
142 143
143 if (typeof value === 'string') return value.split(',') 144 if (typeof value === 'string') return value.split(',')
144 145