mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: each category can control how many topics to show on categories page
This commit is contained in:
@@ -20,7 +20,8 @@ class BasicCategorySerializer < ApplicationSerializer
|
||||
:has_children,
|
||||
:sort_order,
|
||||
:sort_ascending,
|
||||
:show_subcategory_list
|
||||
:show_subcategory_list,
|
||||
:num_featured_topics
|
||||
|
||||
has_one :uploaded_logo, embed: :object, serializer: CategoryUploadSerializer
|
||||
has_one :uploaded_background, embed: :object, serializer: CategoryUploadSerializer
|
||||
|
||||
Reference in New Issue
Block a user