Make Flat notes searchable

This commit is contained in:
Lucas Verney 2017-11-09 16:00:50 +01:00
parent 8b99fff79d
commit b9e108d63d
1 changed files with 3 additions and 1 deletions

View File

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