If you have no problems in getting your hands a little dirty, you can edit ./app/assets/javascripts/discourse/components/edit-category-settings.js.es6
and add “votes” to the array described in function availableSorts
, like so:
@computed
availableSorts() {
return [
"likes",
"op_likes",
"views",
"posts",
"activity",
"posters",
"category",
"created",
"views",
]
.map(s => ({ name: I18n.t("category.sort_options." + s), value: s }))
.sort((a, b) => {
return a.name > b.name;
});
},
Now, you should see [[category.sort_options.voting]]
in settings.