<commit_before>export default Discourse.Route.extend({
  model() {
    return this.store.findAll('tag');
  },

  titleToken() {
    return I18n.t("tagging.tags");
  },

  actions: {
    didTransition() {
      this.controllerFor("application").set("showFooter", true);
      return true;
    }
  }
});
<commit_msg>FIX: the tags_sort_alphabetically setting applies to the tags list page too<commit_after>export default Discourse.Route.extend({
  model() {
    return this.store.findAll('tag');
  },

  titleToken() {
    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);
      return true;
    }
  }
});

{'fraction_non_alphanumeric': 0.1600441501103753, 'fraction_numerical': 0.004415011037527594, 'mean_word_length': 3.4679802955665027, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2649487', 'n_tokens_mistral': 293, 'n_tokens_neox': 285, 'n_words': 49}