This commit is contained in:
Cayo Puigdefabregas 2022-03-08 10:15:21 +01:00
parent bd716e2ef8
commit 62f42e9e05

View file

@ -36,6 +36,7 @@ from sqlalchemy import or_
DEVICES = [ DEVICES = [
("All", "All"),
("Computer", "Computer"), ("Computer", "Computer"),
("Desktop", "Desktop"), ("Desktop", "Desktop"),
("Laptop", "Laptop"), ("Laptop", "Laptop"),
@ -95,7 +96,7 @@ DEVICES = [
class FilterForm(FlaskForm): class FilterForm(FlaskForm):
filter = SelectField('', choices=DEVICES, default="Comupter", filter = SelectField('', choices=DEVICES, default="Computer",
render_kw={'class': "form-select"}) render_kw={'class': "form-select"})
def search(self): def search(self):