FIX: Preload custom field in search results.

FIX: Preload custom field in search results.

diff --git a/plugin.rb b/plugin.rb
index 09273bc..5a4a4d4 100644
--- a/plugin.rb
+++ b/plugin.rb
@@ -185,6 +185,7 @@ after_initialize do
 
   add_preloaded_topic_list_custom_field('encrypted_title')
   CategoryList.preloaded_topic_custom_fields << 'encrypted_title'
+  Search.preloaded_topic_custom_fields << 'encrypted_title'
 
   # Hide cooked content.
   Plugin::Filter.register(:after_post_cook) do |post, cooked|

GitHub sha: 7931d6ed

1 Like