diff --git a/aleksis/core/search_indexes.py b/aleksis/core/search_indexes.py index 7583a774eaadebb1cbfdb35d08dc0ddcfb355eea..ea0b4dae56290791bf9f99c919aa6d2d7925b64e 100644 --- a/aleksis/core/search_indexes.py +++ b/aleksis/core/search_indexes.py @@ -1,4 +1,4 @@ -from .models import Group, Person +from .models import Group, Person, Room from .util.search import Indexable, SearchIndex @@ -12,3 +12,9 @@ class GroupIndex(SearchIndex, Indexable): """Haystack index for searching groups.""" model = Group + + +class RoomIndex(SearchIndex, Indexable): + """Haystack index for searching rooms.""" + + model = Room