From 0165aff45dddb9623535ef1a6b8d261edee1d716 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: #1054 language sorting by name (#1055) --- ext/js/pages/settings/languages-controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext') 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); } -- cgit v1.2.3