FIX: the tags_sort_alphabetically setting applies to the tags list page too
This commit is contained in:
parent
03605f1b01
commit
bc0b487cd7
|
@ -7,6 +7,13 @@ export default Discourse.Route.extend({
|
|||
return I18n.t("tagging.tags");
|
||||
},
|
||||
|
||||
setupController(controller, model) {
|
||||
this.controllerFor('tags.index').setProperties({
|
||||
model,
|
||||
sortProperties: this.siteSettings.tags_sort_alphabetically ? ['id'] : ['count:desc', 'id']
|
||||
});
|
||||
},
|
||||
|
||||
actions: {
|
||||
didTransition() {
|
||||
this.controllerFor("application").set("showFooter", true);
|
||||
|
|
Loading…
Reference in New Issue