FEATURE: new category setting for whether to show latest topics or top topics by default
This commit is contained in:
@@ -13,9 +13,9 @@ export default {
|
||||
app.DiscoveryCategoryNoneController = DiscoverySortableController.extend();
|
||||
app.DiscoveryCategoryWithIDController = DiscoverySortableController.extend();
|
||||
|
||||
app.DiscoveryCategoryRoute = buildCategoryRoute('latest');
|
||||
app.DiscoveryParentCategoryRoute = buildCategoryRoute('latest');
|
||||
app.DiscoveryCategoryNoneRoute = buildCategoryRoute('latest', {no_subcategories: true});
|
||||
app.DiscoveryCategoryRoute = buildCategoryRoute('default');
|
||||
app.DiscoveryParentCategoryRoute = buildCategoryRoute('default');
|
||||
app.DiscoveryCategoryNoneRoute = buildCategoryRoute('default', {no_subcategories: true});
|
||||
|
||||
const site = Discourse.Site.current();
|
||||
site.get('filters').forEach(filter => {
|
||||
|
||||
Reference in New Issue
Block a user