From 5226d2817d75e69f1fd7bbdeeb3e8a72f66097b6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Valenta?= <git@imaniti.org>
Date: Fri, 5 Jan 2024 21:16:03 +0100
Subject: [PATCH] fix search backend bug

---
 elections/models.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/elections/models.py b/elections/models.py
index 225d3198..3c9a5818 100644
--- a/elections/models.py
+++ b/elections/models.py
@@ -160,8 +160,7 @@ class ElectionsSearchPage(MainSearchPageMixin):
     def searchable_models(self) -> list:
         return [
             ElectionsArticlePage,
-            ElectionsPersonPage,
-            ElectionsSimplePage,
+            ElectionsCandidatePage,
         ]
 
 
-- 
GitLab