fix bug
This commit is contained in:
parent
bd716e2ef8
commit
62f42e9e05
|
@ -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):
|
||||||
|
|
Reference in New Issue