mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 14:49:07 +08:00
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
Block a user