diff options
Diffstat (limited to 'client/src/app/search/advanced-search.model.ts')
-rw-r--r-- | client/src/app/search/advanced-search.model.ts | 1 |
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 | ||