Browse Source

Make Flat notes searchable

updated_weboob
Lucas Verney 5 years ago
parent
commit
b9e108d63d
  1. 4
      flatisfy/models/flat.py

4
flatisfy/models/flat.py

@ -58,7 +58,9 @@ class Flat(BASE): @@ -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)

Loading…
Cancel
Save