FIX: Use TopicList's preloaded_custom_fields.

FIX: Use TopicList’s preloaded_custom_fields.

diff --git a/app/controllers/discourse_assign/assign_controller.rb b/app/controllers/discourse_assign/assign_controller.rb
index 628a87d..bacd8e0 100644
--- a/app/controllers/discourse_assign/assign_controller.rb
+++ b/app/controllers/discourse_assign/assign_controller.rb
@@ -94,7 +94,7 @@ module DiscourseAssign
         .offset(offset)
         .limit(limit)
 
-      Topic.preload_custom_fields(topics, [TopicAssigner::ASSIGNED_TO_ID])
+      Topic.preload_custom_fields(topics, TopicList.preloaded_custom_fields)
 
       users = User
         .where("users.id IN (SELECT value::int FROM topic_custom_fields WHERE name = 'assigned_to_id' AND topic_id IN (?))", topics.map(&:id))

GitHub sha: 1a041b49