diff options
author | Iurco Tiberiu-Iulian <39162045+tiberiuiurco@users.noreply.github.com> | 2024-06-12 15:30:59 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-12 06:30:59 +0000 |
commit | 0165aff45dddb9623535ef1a6b8d261edee1d716 (patch) | |
tree | 528519d139630c0b384ee87bcf80760b971da4c6 /ext/js/pages/settings | |
parent | 0ade97639757f15979193013640cf73ee41ff420 (diff) |
#1054 language sorting by name (#1055)
Diffstat (limited to 'ext/js/pages/settings')
-rwxr-xr-x | ext/js/pages/settings/languages-controller.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/js/pages/settings/languages-controller.js b/ext/js/pages/settings/languages-controller.js index 7c795150..707230be 100755 --- a/ext/js/pages/settings/languages-controller.js +++ b/ext/js/pages/settings/languages-controller.js @@ -30,7 +30,7 @@ export class LanguagesController { /** */ async prepare() { const languages = await this._settingsController.application.api.getLanguageSummaries(); - languages.sort((a, b) => a.iso.localeCompare(b.iso, 'en')); + languages.sort((a, b) => a.name.localeCompare(b.name, 'en')); this._fillSelect(languages); } |