FEATURE: add categories page style to order topics by created date (#17500)

This commit is contained in:
Jean
2022-07-25 09:41:43 -04:00
committed by GitHub
parent 7ab5dcf82f
commit 424a274c12
13 changed files with 102 additions and 13 deletions

View File

@@ -12,6 +12,7 @@ class CategoryPageStyle < EnumSiteSetting
@values ||= [
{ name: 'category_page_style.categories_only', value: 'categories_only' },
{ name: 'category_page_style.categories_with_featured_topics', value: 'categories_with_featured_topics' },
{ name: 'category_page_style.categories_and_latest_topics_created_date', value: 'categories_and_latest_topics_created_date' },
{ name: 'category_page_style.categories_and_latest_topics', value: 'categories_and_latest_topics' },
{ name: 'category_page_style.categories_and_top_topics', value: 'categories_and_top_topics' },
{ name: 'category_page_style.categories_boxes', value: 'categories_boxes' },