FIX: Ensure post_search_data is present (#121)

FIX: Ensure post_search_data is present (#121)

It is not technically required, but the serializer needs it to generate the blurb.

diff --git a/lib/encrypted_search.rb b/lib/encrypted_search.rb
index 8b785dd..3c02a11 100644
--- a/lib/encrypted_search.rb
+++ b/lib/encrypted_search.rb
@@ -11,6 +11,7 @@ class EncryptedSearch < Search
       .includes(topic: :encrypted_topics_data)
       .where.not(encrypted_topics_data: { title: nil })
       .where(post_type: Topic.visible_post_types(@guardian.user))
+      .where('post_search_data.private_message')
       .limit(limit)
   end
 

GitHub sha: d0df0815d406832c57eb42d92335115df892c9ca

This commit appears in #121 which was approved by CvX. It was merged by udan11.