FIX: Mark custom field for preloading.

FIX: Mark custom field for preloading.

From f4d2ed4be4f4ec155452b29c4a0b2f476847d086 Mon Sep 17 00:00:00 2001
From: Dan Ungureanu <dan@ungureanu.me>
Date: Thu, 29 Nov 2018 19:47:06 +0200
Subject: [PATCH] FIX: Mark custom field for preloading.


diff --git a/plugin.rb b/plugin.rb
index 322135a..4ee2ef5 100644
--- a/plugin.rb
+++ b/plugin.rb
@@ -105,6 +105,7 @@ after_initialize do
   end
 
   add_preloaded_topic_list_custom_field("encrypted_title")
+  CategoryList.preloaded_topic_custom_fields << "encrypted_title"
 
   module PostExtensions

GitHub

1 Like

Thanks @davidtaylorhq noticed this, can you confirm its working well for you now and approve this ?

“Categories with Featured Topics” is now loading successfully :+1:

3 Likes