diff options
Diffstat (limited to 'client/src/app/search/search.service.ts')
-rw-r--r-- | client/src/app/search/search.service.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/search/search.service.ts b/client/src/app/search/search.service.ts index c6106afd6..b46cb97f4 100644 --- a/client/src/app/search/search.service.ts +++ b/client/src/app/search/search.service.ts | |||
@@ -44,7 +44,7 @@ export class SearchService { | |||
44 | const value = advancedSearchObject[name] | 44 | const value = advancedSearchObject[name] |
45 | if (!value) continue | 45 | if (!value) continue |
46 | 46 | ||
47 | if (Array.isArray(value)) { | 47 | if (Array.isArray(value) && value.length !== 0) { |
48 | for (const v of value) params = params.append(name, v) | 48 | for (const v of value) params = params.append(name, v) |
49 | } else { | 49 | } else { |
50 | params = params.append(name, value) | 50 | params = params.append(name, value) |