From 11f793a6ac9ac95da2a3fa2b565bca3c6ec7d666 Mon Sep 17 00:00:00 2001 From: Iurco Tiberiu-Iulian <39162045+tiberiuiurco@users.noreply.github.com> Date: Wed, 12 Jun 2024 15:30:59 +0900 Subject: [PATCH] language sorting by name MDE2NWFmZjQ1ZGRkYjk2MjM1MzVlZjFhNmI4ZDI2MWVkZWUxZDcxNgo= --- ext/js/pages/settings/languages-controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/js/pages/settings/languages-controller.js b/ext/js/pages/settings/languages-controller.js index 9c24e475c3..44599428c9 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); }