From e087ddbdcc04eff7dea4eb5cb6259ae483e6f66d Mon Sep 17 00:00:00 2001
From: Fredrik Jonsson <frjo@xdeb.org>
Date: Mon, 12 Nov 2018 14:28:13 +0100
Subject: [PATCH] Add the full name field to submission search.

---
 opentech/apply/funds/models/submissions.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/opentech/apply/funds/models/submissions.py b/opentech/apply/funds/models/submissions.py
index d5029ea50..9557c58f5 100644
--- a/opentech/apply/funds/models/submissions.py
+++ b/opentech/apply/funds/models/submissions.py
@@ -565,7 +565,7 @@ class ApplicationSubmission(
                     yield value
 
         # Add named fields into the search index
-        for field in ['email', 'title']:
+        for field in ['full_name', 'email', 'title']:
             yield getattr(self, field)
 
     def get_absolute_url(self):
-- 
GitLab