From a54d57f4ab6fd40ecb2871a1509e96e2d2d0a5cc Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Tue, 10 May 2022 10:22:22 +0200 Subject: [PATCH] fix the All devices option --- ereuse_devicehub/inventory/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ereuse_devicehub/inventory/forms.py b/ereuse_devicehub/inventory/forms.py index a04b5e75..062d185c 100644 --- a/ereuse_devicehub/inventory/forms.py +++ b/ereuse_devicehub/inventory/forms.py @@ -163,7 +163,7 @@ class FilterForm(FlaskForm): # Generic Filters if "All Devices" == self.device_type: - filter_type = None + filter_type = COMPUTERS + ["Monitor"] + MOBILE elif "All Components" == self.device_type: filter_type = COMPONENTS