From f5d4f618ae6e614f1f6563611740f9a373852ad6 Mon Sep 17 00:00:00 2001 From: ivaosthu Date: Wed, 13 Mar 2019 08:56:02 +0100 Subject: [PATCH] fix: Application list should be alphabetically sorted closes #403 --- CHANGELOG.md | 4 +++- lib/db/client-applications-store.js | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1ccd4791e4..ff789fa2e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,11 @@ # Changelog ## Next + - fix: Metrics poller should start even if inital fetch fails. - fix: SimpleAuthentication should work with custom basePaths -- fix: Add explicit endpoints for toggle on/off +- fix: Add explicit endpoints for toggle on/off +- fix: Application list should be alphabetically sorted ## 3.2.2 diff --git a/lib/db/client-applications-store.js b/lib/db/client-applications-store.js index 142e9e06a9..172acc9d1b 100644 --- a/lib/db/client-applications-store.js +++ b/lib/db/client-applications-store.js @@ -70,6 +70,7 @@ class ClientApplicationsDb { return this.db .select(COLUMNS) .from(TABLE) + .orderBy('app_name', 'asc') .map(mapRow); }