mirror of
https://github.com/discourse/discourse.git
synced 2025-03-09 14:34:35 +00: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");
|
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: {
|
actions: {
|
||||||
didTransition() {
|
didTransition() {
|
||||||
this.controllerFor("application").set("showFooter", true);
|
this.controllerFor("application").set("showFooter", true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user