Make Flat notes searchable

This commit is contained in:
Lucas Verney 2017-11-09 16:00:50 +01:00
parent 8b99fff79d
commit b9e108d63d

View File

@ -58,7 +58,9 @@ class Flat(BASE):
SQLAlchemy ORM model to store a flat.
"""
__tablename__ = "flats"
__searchable__ = ["title", "text", "station", "location", "details"]
__searchable__ = [
"title", "text", "station", "location", "details", "notes"
]
# Weboob data
id = Column(String, primary_key=True)