mirror of
https://github.com/discourse/discourse-solved.git
synced 2025-02-08 20:54:41 +00:00
FIX: show solved icon on categories with featured topics page
This commit is contained in:
parent
9f27caf39c
commit
db35674cc4
@ -522,6 +522,10 @@ SQL
|
|||||||
include TopicAnswerMixin
|
include TopicAnswerMixin
|
||||||
end
|
end
|
||||||
|
|
||||||
|
class ::ListableTopicSerializer
|
||||||
|
include TopicAnswerMixin
|
||||||
|
end
|
||||||
|
|
||||||
TopicList.preloaded_custom_fields << "accepted_answer_post_id" if TopicList.respond_to? :preloaded_custom_fields
|
TopicList.preloaded_custom_fields << "accepted_answer_post_id" if TopicList.respond_to? :preloaded_custom_fields
|
||||||
Site.preloaded_category_custom_fields << "enable_accepted_answers" if Site.respond_to? :preloaded_category_custom_fields
|
Site.preloaded_category_custom_fields << "enable_accepted_answers" if Site.respond_to? :preloaded_category_custom_fields
|
||||||
Search.preloaded_topic_custom_fields << "accepted_answer_post_id" if Search.respond_to? :preloaded_topic_custom_fields
|
Search.preloaded_topic_custom_fields << "accepted_answer_post_id" if Search.respond_to? :preloaded_topic_custom_fields
|
||||||
|
Loading…
x
Reference in New Issue
Block a user