From 62f42e9e0562aec53a71427e180d8516affa2e98 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Tue, 8 Mar 2022 10:15:21 +0100 Subject: [PATCH] fix bug --- ereuse_devicehub/inventory/forms.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ereuse_devicehub/inventory/forms.py b/ereuse_devicehub/inventory/forms.py index e2499f0f..6b3955de 100644 --- a/ereuse_devicehub/inventory/forms.py +++ b/ereuse_devicehub/inventory/forms.py @@ -36,6 +36,7 @@ from sqlalchemy import or_ DEVICES = [ + ("All", "All"), ("Computer", "Computer"), ("Desktop", "Desktop"), ("Laptop", "Laptop"), @@ -95,7 +96,7 @@ DEVICES = [ class FilterForm(FlaskForm): - filter = SelectField('', choices=DEVICES, default="Comupter", + filter = SelectField('', choices=DEVICES, default="Computer", render_kw={'class': "form-select"}) def search(self):