This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git

commit 1f676718a6e1544d793b68d03114d4ac37de5d85
Author: Daniel Gruno <[email protected]>
AuthorDate: Sun Sep 19 17:30:36 2021 -0500

    alphasort
---
 webui/js/source/list-index.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/webui/js/source/list-index.js b/webui/js/source/list-index.js
index bf55617..41b5d5f 100644
--- a/webui/js/source/list-index.js
+++ b/webui/js/source/list-index.js
@@ -47,7 +47,9 @@ function list_index(state, json) {
 
     let list_ul = document.getElementById('list_index_wide_lists');
     list_ul.textContent = "";
-    for (let domain_name in list_json.lists) {
+    let domains = Object.keys(list_json.lists);
+    domains.sort();
+    for (let domain_name of domains) {
         if (is_letter(domain_name, letter)) {
             console.log(domain_name);
             let li = new HTML('li', {});

Reply via email to