From 9abd170dec9a0b929da1f0947e3c7019e38631da Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 11 Aug 2020 09:22:42 +0200 Subject: Fix tags in search filters --- client/src/app/core/rest/rest.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/src/app/core/rest/rest.service.ts') diff --git a/client/src/app/core/rest/rest.service.ts b/client/src/app/core/rest/rest.service.ts index 9e32c6d58..4f1fc8848 100644 --- a/client/src/app/core/rest/rest.service.ts +++ b/client/src/app/core/rest/rest.service.ts @@ -49,7 +49,7 @@ export class RestService { const value = object[name] if (value === undefined || value === null) continue - if (Array.isArray(value) && value.length !== 0) { + if (Array.isArray(value)) { for (const v of value) params = params.append(name, v) } else { params = params.append(name, value) -- cgit v1.2.3